Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. algo_trading_50
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 34
    • Best 0
    • Groups 0

    Posts made by algo_trading_50

    • RE: Getting AG8004

      @mr_s Try Trading API key.

      posted in General Discussion
      A
      algo_trading_50
    • RE: Getting AG8004

      @mr_s Your API key is incorrect.

      {
        "status": false,
        "message": "Invalid API Key",
        "errorcode": "AG8004",
        "data": null
      }
      
      posted in General Discussion
      A
      algo_trading_50
    • RE: scripconsent order parameter missing in Java library. Order placement fails with Null

      @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.

      posted in Java SDK
      A
      algo_trading_50
    • RE: scripconsent order parameter missing in Java library. Order placement fails with Null

      @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 -DskipTests
      

      Compiled jar file will be in target folder.

      posted in Java SDK
      A
      algo_trading_50
    • RE: scripconsent order parameter missing in Java library. Order placement fails with Null

      @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.

      posted in Java SDK
      A
      algo_trading_50
    • RE: Important Updates to SmartAPI in Compliance with SEBI Guidelines

      @archana Static IP limitation is only applicable on order placement and modification APIs endpoints as per circular, as mentioned above.

      posted in General Discussion
      A
      algo_trading_50
    • RE: Error code : AB1004

      @archana Intermittent issue caused because of service disruption. https://smartapi.angelbroking.com/docs/Exceptions

      posted in Python SDK
      A
      algo_trading_50
    • RE: Important Updates to SmartAPI in Compliance with SEBI Guidelines

      @archana Yes. For that reason we have "New Login" on https://smartapi.angelbroking.com.

      posted in General Discussion
      A
      algo_trading_50
    • RE: Data download not working

      @kvineeth https://smartapi.angelbroking.com/smartapi/forum/topic/5495/are-there-any-sla-for-the-apis?_=1771305833945

      posted in General Discussion
      A
      algo_trading_50
    • RE: Are there any SLA for the apis?

      @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.

      posted in Python SDK
      A
      algo_trading_50
    • RE: SmartAPI Session Invalid / Token Expiry Issue – Urgent

      @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.

      posted in Python SDK
      A
      algo_trading_50
    • RE: Important Updates to SmartAPI in Compliance with SEBI Guidelines

      @diwakarpant16 Static IP limitation is only applicable on order placement and modification APIs endpoints as per circular. "Trading API" app is under that umbrella.

      posted in General Discussion
      A
      algo_trading_50
    • RE: Important Updates to SmartAPI in Compliance with SEBI Guidelines

      @r345656 Host your trading bots on VPS that always have unique IP addresses.

      posted in General Discussion
      A
      algo_trading_50
    • RE: TSL Order Update होने पर भी पहला SL Modify/Cancel न होने की समस्या के समाधान हेतु अनुरोध

      @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.

      posted in Python SDK
      A
      algo_trading_50
    • RE: Relation Between exch_seg from instrument json and exchange type in WebSocket API

      @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]])
      
      posted in Python SDK
      A
      algo_trading_50
    • RE: Publisher Login

      @nitro Try creating a Smart API app using "Publisher" API. JS plugin seems discontinued.

      posted in General Discussion
      A
      algo_trading_50
    • RE: Change in OI

      @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.

      posted in General Discussion
      A
      algo_trading_50
    • RE: Option Greeks Option Greeks Delta(Δ), Gamma (Γ), Theta(Θ) an

      @uga19082002 BANKNIFTY has monthly expiry only and the mentioned expirydate is incorrect, therefore "No Data Available".

      posted in Python SDK
      A
      algo_trading_50
    • RE: Not able to connect using oracle

      @ankushsup Your IP is rate limited and banned. Max retries exceeded with url: /rest/auth/angelbroking/user/v1/loginByPassword. Avoid using infinite loops.

      posted in Test
      A
      algo_trading_50
    • RE: missing data and uncorrect historical data

      @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.

      posted in Bugs
      A
      algo_trading_50