☰
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
12.5K
All Categories
100
Node JS client
35
Go client
740
.Net API client
345
Kite Publisher
528
.Net / VBA / Excel (3rd party)
410
Algorithms and Strategies
918
Java client
957
API clients
388
PHP client
3.5K
Python client
318
Mobile and Desktop apps
1.2K
Market data (WebSockets)
3K
General
In this Discussion
September 11
pravinmaske25
July 24
shivdas_b
Not able to read MIDCAP SELECT value in ktie ltp
pravinmaske25
July 24
in
Python client
I am trying to read the midcap ltp value in
@app
.route("/midcapvalue")
def midcapvalue():
kite = connect()
midcap_index_value = kite.ltp("NSE:NIFTY MIDCAP SELECT")
print(midcap_index_value)
return json.dumps(midcap_index_value)
getting blank {} as a result can anyone point out my mistake
Tagged:
Python Client
shivdas_b
July 24
edited July 24
@pravinmaske25
,
try following
midcap_index_value = kite.ltp("
NSE:NIFTY MID SELECT
")
pravinmaske25
July 24
Thanks
@shivdas_b
, it works.
what should i do get same for sensex
shivdas_b
July 24
edited July 24
sensex_index_value = kite.ltp("
BSE:SENSEX
")
bankex_index_value = kite.ltp("
BSE:BANKEX
")
pravinmaske25
July 24
@shivdas_b
Thanks
pravinmaske25
September 11
plz close this discussion
This discussion has been closed.
try following
midcap_index_value = kite.ltp("NSE:NIFTY MID SELECT")
what should i do get same for sensex
bankex_index_value = kite.ltp("BSE:BANKEX")