How to get LTP using python sdk
-
Hi Team,
There is no example in documentation to fetch ltp using python sdk. which function i need to call to get ltp for the given scrips -
@Thiyaneswaran
Thanks - topic:timeago_earlier,3 years
-
@admin Hi, Thanks for your quick response, Can you please share me sample other API call function which is not in documentation. and can you please me sample python (not SDK) login flow code
-
from smartapi import SmartConnect
SmartApi =SmartConnect(api_key="Your Api Key")
login = smartApi.generateSession('Your Client Id', 'Your Password')exchange = "NSE"
tradingsymbol = "SBIN-EQ"
symboltoken = 3045
smartApi.ltpData("NSE", "SBIN-EQ", "3045")
1 out of 4