☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
458
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
348
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
February 2020
sujith
Not able to retrieve instruments data! (DataException: Unknown Content-Type (binary/octet-stream)
bsarvate
February 2020
in
Python client
I am trying to retrieve instrument tokens from NSE/NFO exchanges.
This was working fine till yesterday. Please take a look!
The command is failing with following error:
instruments_list = kite.instruments(exchange=kite.EXCHANGE_NSE)
DataException: Unknown Content-Type (binary/octet-stream) with response: (b'instrument_token,exchange_token,tradingsymbol,name,last_price,expiry,strike,tick_size,lot_size,instrument_type,segment,exchange\n258313,1009,CPSE INDEX,"CPSE INDEX",0,,0,0,0,EQ,INDICES,NSE\n264713,1034,HANGSENG BEES-NAV,"HANGSENG BEES-NAV",0,,0,0,0,EQ,INDICES,NSE\n264969,1035,INDIA VIX,"INDIA VIX",0,,0,0,0,EQ,INDICES,NSE\n258057,1008,LIX 15,"LIX 15",0,,0,0,0,EQ,INDICES,NSE\n258569,1010,NI15,"NI15",0,,0,0,0,EQ,INDICES,NSE\n260617,1018,NIFTY 100,"NIFTY 100",0,,0,0,0,EQ,INDICES,NSE\n264457,1033,NIFTY 200,"NIFTY 200",0,,0,0,0,EQ,INDICES,NSE\n256265,1001,NIFTY 50,"NIFTY 50",0,,0,0,0,EQ,INDICES,NSE\n268041,1047,NIFTY 500,"NIFTY 500",0,,0,0,0,EQ,INDICES,NSE\n265993,1039,NIFTY ALPHA 50,"NIFTY ALPHA 50",0,,0,0,0,EQ,INDICES,NSE\n263433,1029,NIFTY AUTO,"NIFTY AUTO",0,,0,0,0,EQ,INDICES,NSE\n260105,1016,NIFTY BANK,"NIFTY BANK",0,,0,0,0,EQ,INDICES,NSE\n257289,1005,NIFTY COMMODITIES,"NIFTY COMMODITIES",0,,0,0,0,EQ,INDICES,NSE\n257545,1006,NIFTY CONSUMPTION,"NIFTY CONSUMPTION",0,,0,0,0,EQ,INDICES,NSE\n268297,1048,NIFTY CPSE,"NIFTY CPSE",0,,0,0,0,EQ,INDICES,NSE\n257033,1004,NIFTY DIV OPPS 50,"NIFTY DIV OPPS 50",0,,0,0,0,EQ,INDICES,NSE\n261641,1022,NIFTY ENERGY,"NIFTY ENERGY",0,,0,0,0,EQ,INDICES,NSE\n257801,1007,NIFTY FIN SERVICE,"NIFTY FIN SERVICE",0,,0,0,0,EQ,INDICES,NSE\n261897,1023,NIFTY FMCG,"NIFTY FMCG",0,,0,0,0,EQ,INDICES,NSE\n270345,1056,NIFTY GROWSECT 15,"NIFTY GROWSECT 15",0,,0,0,0,EQ,INDICES,NS...
sujith
February 2020
You can follow up
here
.
This discussion has been closed.