“Historical type app active hai, Python SmartApi SDK se login OK, lekin getCandleData pe errorCode: AG8001 (Invalid Token) aa raha hai. Kya mere client ID ke liye Historical Data enable hai? Historical app ke liye correct headers / flow kya hai?”
Latest posts made by shahnawaz.pe
-
Historical type app active hai, Python SmartApi SDK se login OK, lekin getCandleData pe errorCode: AG8001posted in Test
-
Get all your historical transactions for a stockposted in General Discussion
Is there any API to fetch all my historical transactions for a stock. All the BUY and SELL transactions. On the web UI i could find an internal API
https://trade.angelbroking.com/Equity/GetTransactions.Can this be considered as a Feature request if not already supported?
-
RE: Selling stocks via SmartAPI & doubts regarding websocketsposted in General Discussion
@rajanprabu said in Selling stocks via SmartAPI & doubts regarding websockets:
Not sure what are you asking here.. You want to do algo trading right ??
I would recommend spend some time reading about it. This is a technical forum to raise questions about usage. Your questions are beyond the scope of it.Will check more about algo trading. Thanks.
-
RE: Selling stocks via SmartAPI & doubts regarding websocketsposted in General Discussion
@rajanprabu said in Selling stocks via SmartAPI & doubts regarding websockets:
Just change the buy to sell, it will sell it for you
So in this case no need of TPIN and all those things (as we have it in the APP while selling) right?
-
RE: Selling stocks via SmartAPI & doubts regarding websocketsposted in General Discussion
@admin said in Selling stocks via SmartAPI & doubts regarding websockets:
I have been through the docs. I just want to know the correct way to use them,
I can use websockets and process them in memory lets say frontend app( i am not using any async queuing system like kafka or other) , is it recommended?
Or should I poll frequently? -
RE: Selling stocks via SmartAPI & doubts regarding websocketsposted in General Discussion
@admin said in Selling stocks via SmartAPI & doubts regarding websockets:
Yo can develop a fully automated rule based system using SmartAPI
Can you please explain what do you mean by rule based system?
Is it related to GTT?
All the examples and docs are demonstrated forBUYtransaction but not forSELL. I am not sure if I can placeSELLorder using API.My doubt is whether TPIN and OTP is asked on placing a SELL order via API? I am expecting a YES/NO. I want to be sure before trying it out on my portfolio.
-
Selling stocks via SmartAPI & doubts regarding websocketsposted in General Discussion
When we use the AngelOne app to sell a stock, we have enter the TPIN and OTP (once for the day).
So if I use the smart api, do i still have to do these things manually?
- If yes then I am not sure if I can build a fully automated platform. Can you guys suggest some alternatives? Can we disable TPIN and OTP for the API sell orders?
How do you guys usually place orders via the smart api?
Also how do you guys leverage the websockets api? I am trying to have some custom strategy at my end.
There are two way I am thinking of doing it:- use the websockets to continously read and process the data
(data is continous, i don't want to use any queuing system right now as this will only be a sort of POC. Any good inmemory queuing system for python/nodejs?) - poll regularly and apply the strategy(limits issue)
Thanks
-
RE: How do we get the daily contract notes and store it in a journal.posted in General Discussion
@James-Bond Thanks for the prompt response. Appreciate it.
Is there any other way of getting this information programmatically?I am thinking of following two ways:
1: Check with angel team/ exchange teams if we can get the contract notes in some format (ex: Excel sheet) instead of PDF,
2: Use some open source libraries which will parse the PDF and extract some tabular data. But I find this soln. unreliable as the format in PDF may change and current pdf parsers are not that accurate.
Any advice you would like to provide?
-
How do we get the daily contract notes and store it in a journal.posted in General Discussion
Are there any APIs to get the contract notes for the day. I know I can parse the PDF of the contract we get but i was hoping if we can get this data in structured format from somewhere.
Any advice from algo traders on this?