geting this error.
steps followed
in angewlsmart api website
enable totp clicked
got a long code.
used that in login string
topt = [code got from able step]
what am i doing wrong
geting this error.
steps followed
in angewlsmart api website
enable totp clicked
got a long code.
used that in login string
topt = [code got from able step]
what am i doing wrong
Hi,
i try to subscribe all Current Month Futures and Corresponding Underlying stock , so nearly, 400 tokens in one single request.
But it fails.
Is there a Max Limit to Number of tokens in Single feed subscription Request ?
@kunaljvyas Done. I created a new apikey. thank you
Hi,
i am getting AG8004 error = invalid API key.
" wss://smartapisocket.angelbroking.com/websocket?jwttoken=eyJhbGciOiJIUzUxMiJ9.......&clientcode=C*****&apikey=9******* "
above is my connection url string.
i am passing same apikey that i use to login in apikey parameter.
Its correct and same from my end bcos i am ble to login and place order using that apikey.
still getting this error AG8004 : when i try to connect to websocket server for order update.
pls highlight what am i doing wrong ?
is apikey different for login and websocket for orders ?
(Note. i am able to connect to feed websocket and get live feed)
Hi,
i am getting AG8004 error = invalid API key.
" wss://smartapisocket.angelbroking.com/websocket?jwttoken=eyJhbGciOiJIUzUxMiJ9.......&clientcode=C*****&apikey=9******* "
above is my connection url string.
i am passing same apikey that i use to login in apikey parameter.
Its correct and same from my end bcos i am ble to login and place order using that apikey.
still getting this error AG8004 : when i try to connect to websocket server for order update.
pls highlight what am i doing wrong ?
is apikey different for login and websocket for orders ?
(Note. i am able to connect to feed websocket and get live feed)
@admin thank you. got it. duration is required.
@admin {"exchange":"NSE","tradingsymbol":"RELIANCE-EQ","symboltoken":"2885","transactiontype":"BUY","ordertype":"LIMIT","variety":"NORMAL","producttype":"INTRADAY","quantity":1,"disclosedquantity":1,"price":2000}
@kunaljvyas this is my order request data.
{"exchange":"NSE","tradingsymbol":"RELIANCE-EQ","symboltoken":"2885","transactiontype":"BUY","ordertype":"LIMIT","variety":"NORMAL","producttype":"INTRADAY","quantity":1,"disclosedquantity":1,"price":2000}
what am i missing or sending wrong ?
@admin thanks . i tried with symboltoken= 2885 also
not getting {"message":"Internal Error","errorcode":"AB2001","status":false,"data":null}
hi,
i have tried setting tradingsymbol as "RELIANCE" as well as "RELIANCE-EQ".
in both case getting symbol not found error.
please can you tell what to set in tradingsymbol ?
i am not sending "symboltoken" as shown in sample code in docs.
is sending "symboltoken" required ?
@admin getting user blocked
{"status":false,"message":"User Is Blocked","errorcode":"AB1007","data":null}
@admin still getting {"status":false,"message":"YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007","data":null}
@admin still getting {"status":false,"message":"YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007","data":null}
hi, it will be very helpful if any one can give sample login code for smartapi login code in dot net c#.
@admin hi, migrate my clients account C21867 to new system for smartapi based algo trading.
@rjbanna ok.thanks. is there any sample code link for c# (like there is code for python and java in documents)
@rjbanna do i need to activate my account for api testing , or by default my account will be activated for api ?
Hi , i have created a smartapi loing account. got privateAPIKey.
Now using c# httpclient for connection.
and sending R12345 as login id, and 123456 as password.
but response is "". response code is 400.
Should i use actual live login id for api testing purpose, or get a deom login is ?