Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
A
@dave you can use historical API for the same.
historical API - https://smartapi.angelone.in/docs/Historical
To get the token for a scrip of your choice, you can use instruments API.
Instruments API - https://smartapi.angelone.in/docs/Instruments
@tanay1907 There is no such API provided by Angel One.
@tkrshpatel You need to have a Angel One client ID to use the APIs.
If you are already registered with Angel One, you can use your client ID, or else you can sign up for Angel One here - https://www.angelone.in/open-demat-account
@smohit94 You can get only those instruments, whose token is present in the instrument master.
@gaurang You won't be able to trade in such scrips via SmartAPI. You can trade in such scrips via app or web.
No one has replied
@mdzainj you can check the API details on the SmartAPI documentation, an alternate workaround that you asked for would be using websocket 2.0 for your use case.
@darshanmc It is working properly, there might be an issue with your code. You can try it in postman and check.
Below is the snippet for the API request:
@blackdream yes it is normal. You can follow this URL for the same - https://margincalculator.angelone.in/OpenAPI_File/files/OpenAPIScripMaster.json
@nimeshguliana we have confirmed that the values are same, please recheck on your end.
@abvohera Please refer to the API documentation. https://smartapi.angelone.in/docs/RateLimit
@chakravrati please refer to the SmartAPI documentation for the same.
K
@kamal487 git it we have to use QR Code number , closing the thread.
historicParam = { "exchange": exchange, "symboltoken": symbol, "interval": interval, "fromdate": from_date, "todate": to_date }
live_data = self.session.ltpData("NSE", "NIFTY 50", "99926000")
here may be issue of tradingsymbol
User websocketv2 api
sws = SmartWebSocketV2( auth_token=self.auth_token, api_key=self.api_key, client_code=self.client_id, feed_token=self.feed_token, )
S
Getting same error since three days again. I repeategly mailed to support they just reply.
Hi Suyog,
As we checked no issue found, kindly check now.
Thanks, SMART API
Error: broker error [AB1004]: Something Went Wrong, Please Try After Sometime
f14ee689-90c4-496c-8d04-dd98c8fe63ca-image.png
c343d76f-9526-4b7f-952a-979ad4793f00-image.png