@aabraham19
"Your Client ID","Your PIN","Your totp here")
use pin inplace of password you are ok. write if you cant solve this issue
S
Posts made by sshah
-
RE: Whenever I try to authenticate via the SmartAPI Python SDK, the server returns: “LoginByPassword is not allowed. Please switch to Login by MPIN now.”posted in Python SDK
-
RE: websocket 2.0 , extact binary data in stringposted in Test
@smartapi-0
hello can you help me to get use websocket 2.0. infact so far failed to use ws even in version1. need some help .i am new coder. -
not able to get ltp data using SmartConnectposted in Python SDK
unable to get ltp using SmartConnect
continue to raise objection that
"LTP API failed: SmartConnect.ltpData() missing 1 required positional argument: 'symboltoken' "
even when i have done so
here is code
try:
exchange="NSE"
tradingsymbol = "SBIN-EQ"
symbolToken = "3045"
print(symbolToken)
ltp_data = SmartConnect.ltpData(exchange,tradingsymbol,symbolToken)
print(ltp_data)