☰
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
13.8K
All Categories
0
Incidents
153
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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'