@mr_s Try Trading API key.
Posts made by algo_trading_50
-
RE: Getting AG8004posted in General Discussion
@mr_s Your API key is incorrect.
{ "status": false, "message": "Invalid API Key", "errorcode": "AG8004", "data": null } -
RE: scripconsent order parameter missing in Java library. Order placement fails with Nullposted in Java SDK
@sugagenius Cheers to your persistence. :) Once done with all modifications, please make sure to send a pull request to the github repo so other algo traders can also be benefited.
-
RE: scripconsent order parameter missing in Java library. Order placement fails with Nullposted in Java SDK
@sugagenius I can understand your frustration. To build it yourself.
git clone https://github.com/angel-one/smartapi-java.git cd smartapi-java # Fix Order.Java mvn clean package -DskipTestsCompiled jar file will be in target folder.
-
RE: scripconsent order parameter missing in Java library. Order placement fails with Nullposted in Java SDK
@sugagenius git clone the Github repository https://github.com/angel-one/smartapi-java. Update Order.java model https://github.com/angel-one/smartapi-java/blob/main/src/main/java/com/angelbroking/smartapi/models/Order.java#L128 by adding scripconsent=yes in the end and compile into new jar file.
-
RE: Important Updates to SmartAPI in Compliance with SEBI Guidelinesposted in General Discussion
@archana Static IP limitation is only applicable on order placement and modification APIs endpoints as per circular, as mentioned above.
-
RE: Error code : AB1004posted in Python SDK
@archana Intermittent issue caused because of service disruption. https://smartapi.angelbroking.com/docs/Exceptions
-
RE: Important Updates to SmartAPI in Compliance with SEBI Guidelinesposted in General Discussion
@archana Yes. For that reason we have "New Login" on https://smartapi.angelbroking.com.
-
RE: Are there any SLA for the apis?posted in Python SDK
@kvineeth Having a trading account itself puts you in a SLA. This could be an intermittent issue. Error AB1004, clearly suggest "Internal Server Error" as mentioned in the docs here https://smartapi.angelbroking.com/docs/Exceptions.
-
RE: SmartAPI Session Invalid / Token Expiry Issue – Urgentposted in Python SDK
@meenavenkit This is an intermittent issue. You can try "Logout from all devices" from the website and can try again. Try with mobile internet on local machine that has new IP everytime to verify if it's an IP related issue.
-
RE: Important Updates to SmartAPI in Compliance with SEBI Guidelinesposted in General Discussion
@diwakarpant16 Static IP limitation is only applicable on order placement and modification APIs endpoints as per circular. "Trading API" app is under that umbrella.
-
RE: Important Updates to SmartAPI in Compliance with SEBI Guidelinesposted in General Discussion
@r345656 Host your trading bots on VPS that always have unique IP addresses.
-
RE: TSL Order Update होने पर भी पहला SL Modify/Cancel न होने की समस्या के समाधान हेतु अनुरोधposted in Python SDK
@diwakar Get all pending orders, https://smartapi.angelbroking.com/docs/Orders#orderbook, filter by "variety": "STOPLOSS" and symboltoken, and cancel all SL orders not matching your sl_order_id.
-
RE: Relation Between exch_seg from instrument json and exchange type in WebSocket APIposted in Python SDK
@sagargami777 Javascript example::
// Reference:: https://smartapi.angelbroking.com/docs/WebSocket2 let ExchangeType = { nse_cm: 1, nse_fo: 2, bse_cm: 3, bse_fo: 4, mcx_fo: 5, ncx_fo: 7, cde_fo: 13 } // Reference: https://smartapi.angelbroking.com/docs/Orders#place let ExchangeMap = { BSE: 'bse_cm', NSE: 'nse_cm', NFO: 'nse_fo', MCX: 'mcx_fo', BFO: 'bse_fo', CDS: 'cde_fo' } let exch_seg = 'NSE' console.log(ExchangeType[ExchangeMap[exch_seg]]) -
RE: Publisher Loginposted in General Discussion
@nitro Try creating a Smart API app using "Publisher" API. JS plugin seems discontinued.
-
RE: Change in OIposted in General Discussion
@t2453a1 As mentioned on the page, https://smartapi.angelbroking.com/docs/MarketData, change in OI (absolute or percentage) is not yet supported by the API.
-
RE: Option Greeks Option Greeks Delta(Δ), Gamma (Γ), Theta(Θ) anposted in Python SDK
@uga19082002 BANKNIFTY has monthly expiry only and the mentioned expirydate is incorrect, therefore "No Data Available".
-
RE: Not able to connect using oracleposted in Test
@ankushsup Your IP is rate limited and banned. Max retries exceeded with url: /rest/auth/angelbroking/user/v1/loginByPassword. Avoid using infinite loops.
-
RE: missing data and uncorrect historical dataposted in Bugs
@sujeetboran It is always recommended to verify the candle interval before saving in database or csv. You can try fetching data in batches and then can verify each batch before saving. In case of missing OHLCV, you can try to re-fetch the complete batch. Verification may add delay in processing but is always worth it.