@devendrav I know it is a year old question but I faced the same issue. The GoSDK uses gorilla websocket which is not useful for websockets on Angel One. It needs another kind of socket. So, there is basic flaw in the SDK.
T
Latest posts made by TalkingTree12
-
RE: Dial TCP i/o timeout error
-
RE: OCO gtt order
@mkushe There is half baked API in Java in AngelOne API which do not allow to set stop loss and target triggers (Which is the purpose of the GTT). I can't see how it works even after studying the documentation and the poor code snippet shared in above link.
-
What is wrong with this order? Says Invalid token
{"duration":"DAY","quantity":2500,"variety":"ROBO","stoploss":"4.56","squareoff":"5.28","price":4.8,"tradingsymbol":"ASHOKLEY24APR25215CE","exchange":"NFO","transactiontype":"BUY","symboltoken":"89284","ordertype":"STOPLOSS_LIMIT","producttype":"CARRYFORWARD"}
-
RE: How can I get Index performance with % change.
@Nichil72 Use mode=3 and symbol 26000 (Nifty 50), 26009(Bank Nifty) etc. you can get the quote with fields netChange and percentageChange.