@DIYD2322 Sometime this External API gets in to trouble. Better to hardcode the IP in the code. This is for analytical purpose, but querying every time is overkill. So better to hardcode.
Posts made by punit
-
RE: Exception while retriving IP Addressposted in Python SDK
-
RE: Position API returning AB2001posted in Python SDK
@admin Yes. thanks for the quick resolution. Thanks.
Regards
Ashok -
Position API returning AB2001posted in Python SDK
Hi Admin,
I am getting the below error in random for many accounts. Without the response of the position() API, it is very difficult to manage the postions throught API.
Seems the accounts with many open and closed positions are impacting, but this is just a estimate.
API: positions()
Sample accounts: REHR1061, P185844, M79046
Error:
{'data': None,
'errorcode': 'AB2001',
'message': 'Internal Error',
'status': False}I am aware of the rate limit and the api is executed only every 2 mins once.
Regards,
Ashok -
RE: How to get current portfolio using apiposted in General Discussion
@vijayyande Indeed getHoldings API should give the portfolio. Is it missing something ? I get that it wont show EFT / Bonds
-
RE: Order Rejection while placing order in GOLDMposted in Test
@PareshBhatiya I afraid GOLM Lot size is 100.

-
RE: New Feature Announcement: Enhanced Real-Time Market Data with our Market Data API!posted in General Discussion
@admin Will it support all exchange segments? NFO, MCX ?
-
RE: WebSocket 2.0 Streaming is not Receiving the Live Price Feedposted in General Discussion
@anil_patel @Vignesha PM me. WS 2.0 is indeed working fine. Let me know any help is required.
-
RE: Given API rate limits are - Per User or Per API ?posted in General Discussion
@shivdasb1996 I believe that the rate limit is per API key. But haven't tested it directly.
I am surprised where you will need 10 orders / second -
RE: order not open status meaning.posted in General Discussion
@PandaTrade Is the quantity 325 intended ?
-
RE: Getting "Something Went Wrong, Please Try After Sometime"posted in General Discussion
@skulkarni , Did you changed your mpin for APP/Web application ?
-
RE: Need 'Best Five Data' example in WS v2posted in General Discussion
Hi @GannuRamya You need to use
mode = 3
in your websocket connection to get the best 5 quote. -
RE: Getting [{"msg":"cn","task":"cn","ak":"nk"}] from websocketposted in General Discussion
@tkrevathi Looks like your are using old websocket? Did you migrate to the new one ?
-
RE: challenges using Smartapiposted in General Discussion
Hope you are doing good. From your handle I can understand that you are a full time trader, but still you are complaining about the nuances in the market.
Patience is the key. big or small, one can easily carve out a space in any challenging environment. I am not saying i do not have the hurdles, i am exactly in same boat, but need to adopt. In my opinion, if we could manage the risks, we can still make 1.5 - 2% ROI every month.
Trending or not, one trick Algo will always land you in red. a good cocktail of algo is the way to go.
BR,
Ashok. -
RE: WebSocket is not returning script valuesposted in Test
@GannuRamya, looks like you are using websocket V1. AB have migrated to websocketV2. Below is are the details.
-
RE: Websocket Call in Javaposted in NodeJS SDK
@laskshmi I am not familiar with Java, but you need to parse the binary data. below is the reference function implemented by Zerodha. Should be similar.
Probably try base64 encoding ?
-
RE: "Exception while retriving IP Address,using local host IP address" causing performance issues.posted in Python SDK
@ravitandur You can comment the api call for the public IP. I have done it and have no impact on the functionality.
DM me if you have any more questions.