☰
Login
Signup
Home
›
Market data (WebSockets)
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
15K
All Categories
0
Incidents
178
Node JS client
52
Go client
850
.Net API client
398
Kite Publisher
554
.Net / VBA / Excel (3rd party)
496
Algorithms and Strategies
1.1K
Java client
1.2K
API clients
410
PHP client
4.3K
Python client
359
Mobile and Desktop apps
1.5K
Market data (WebSockets)
3.6K
General
In this Discussion
April 2019
pytrader
quote for UDSINR Futures
pytrader
April 2019
in
Market data (WebSockets)
Following is the code using which I am trying to pull data for USDINR. But I am not getting it right. Can anyone help me out.
instruments = 'NFO:USDINR19APRFUT'
headers = {'X-Kite-Version': '3', 'Authorization': authorization_token,}
parameters = (('i', [instruments]),)
response = requests.get('
https://api.kite.trade/quote/ltp'
, headers = headers,
params = parameters)
quotes = response.json()
print(quotes)
Thanks
pytrader
April 2019
Got it: Needs to be
instruments = 'CDS:USDINR19APRFUT'
This discussion has been closed.
instruments = 'CDS:USDINR19APRFUT'