Navigation

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

    Posts made by Ananth

    • RE: Market Order Out of Range

      Screen Shot 2024-11-22 at 7.30.05 PM.png

      posted in Bugs
      A
      Ananth
    • Market Order Out of Range

      While try to exit the open position at market price, Order placed successfully and got cancelled by the broker with following error "Market Order Out of Range". Attaching orderid for your reference.

      orderid: 241122000304884

      posted in Bugs
      A
      Ananth
    • Option Greeks for SENSEX

      Option Greeks for SENSEX was not available

      Request:

      {
      "name": "SENSEX",
      "expirydate": "08NOV2024"
      }

      Response:

      {
      "status": false,
      "message": "No Data Available",
      "errorcode": "AB9019",
      "data": null
      }

      posted in General Discussion
      A
      Ananth
    • Cancel order API issue

      While trying to cancel a pending "trigger pending" STOPLOSS order at 3:15 PM getting below error attaching request and response FYR

      Request:

      { "variety": "STOPLOSS", "orderid": "241017000093275" }

      Response:

      { "message": "Invalid orderid", "errorcode": "AB4009", "status": false, "data": null }

      posted in Bugs
      A
      Ananth
    • RE: Issue with tick data when large number of tokens are subscribed

      @Ananth said in Issue with tick data when large number of tokens are subscribed:

      @Moderator_1

      @Ananth said in Issue with tick data when large number of tokens are subscribed:

      I'm also facing similar issue with feed data, In my case I subscribe to around 200 tokens (Nifty Option Script) and able to get tick data properly.

      But the problem is when I try to create candles out of that data, it dosen't match with angelone candles, There was a slight difference.

      Also there're two timestamps in websocket 2.0. exchange_timestamp & last_traded_timestamp I'm not sure which one to considered while creating candles.

      Though I tried both and none of them was matching with angelone candles

      Note:

      I've already tried Historical API (getCandleData) which is even worse.

      It gives accurate data for older candles Which means if I request for last ten 5 minutes candles the first 9 candles were good but the last candle (latest) was not matching with angelone.

      I absorbed that even angelone takes some time to settle down the candle data.

      F.e
      If the time is 12:00 and you request for 11:55 candle (Nifty Option Script), The received data was inappropriate, But if you request the same at 12:05, 11.55 candle should settled but 12:00 candle will be inappropriate.

      @admin @admin123 @Moderator_1 @Moderator_2 @Moderator_3

      posted in Bugs
      A
      Ananth
    • RE: Issue with tick data when large number of tokens are subscribed

      @Moderator_1

      posted in Bugs
      A
      Ananth
    • RE: Issue with tick data when large number of tokens are subscribed

      I'm also facing similar issue with feed data, In my case I subscribe to around 200 tokens (Nifty Option Script) and able to get tick data properly.

      But the problem is when I try to create candles out of that data, it dosen't match with angelone candles, There was a slight difference.

      Also there're two timestamps in websocket 2.0. exchange_timestamp & last_traded_timestamp I'm not sure which one to considered while creating candles.

      Though I tried both and none of them was matching with angelone candles

      Note:

      I've already tried Historical API (getCandleData) which is even worse.

      It gives accurate data for older candles Which means if I request for last ten 5 minutes candles the first 9 candles were good but the last candle (latest) was not matching with angelone.

      I absorbed that even angelone takes some time to settle down the candle data.

      F.e
      If the time is 12:00 and you request for 11:55 candle (Nifty Option Script), The received data was inappropriate, But if you request the same at 12:05, 11.55 candle should settled but 12:00 candle will be inappropriate.

      posted in Bugs
      A
      Ananth
    • Websocket not working

      @admin Not getting data from websocket for nse_fo since past few days

      Only getting

      {ak: 'nk', task: 'cn', msg: 'cn'}
      {ak: 'nk', task: 'mw', msg: 'mw'}
      {ak: 'nk', task: 'hb', msg: 'hb'}

      posted in Bugs
      A
      Ananth
    • Getting 500 response

      @admin
      Since 20 Feb 2023 getLtpData returns 500 response, Previously this used to works fine.

      Request:

      {"exchange":"NSE","tradingsymbol":"NIFTY","symboltoken":"26000"}

      Response:

      {"status":500,"message":""}

      posted in General Discussion
      A
      Ananth
    • Issue with getLTP for Nifty/Banknifty

      @admin
      Getting 0 value for open, low & high in both nifty & banknifty.

      Attaching response FYR.
      {
      "exchange": "NSE",
      "tradingsymbol": "BANKNIFTY",
      "symboltoken": "26009",
      "open": 0,
      "high": 0,
      "low": 0,
      "close": 38712.45,
      "ltp": 39036.05
      }

      {
      "exchange": "NSE",
      "tradingsymbol": "NIFTY",
      "symboltoken": "26000",
      "open": 0,
      "high": 0,
      "low": 0,
      "close": 16983.55,
      "ltp": 17121.3
      }

      posted in Bugs
      A
      Ananth
    • RE: Historical candle data last 2 candles provides wrong close data in daily and 5 min time frame

      @admin I'm having the same problem in NFO candle, In my case the last candle data was inconsistent (sometimes correct and sometimes not) in 5 min time frame.

      F.E
      The current time is 11:55 and I'm trying to get candle for 11:50 (5 min)
      The system is taking some x time to generate candle data after the 11:50 candle is closed

      Could you please advice the appropriate time interval, So that I can fetch the candle after x time

      posted in Bugs
      A
      Ananth
    • Login issue

      @admin
      Getting below error while login

      {
      data: null
      errorcode: 'AB1007'
      message: 'Login Id or password is invalid'
      status: false
      }

      My client id = A657868

      posted in General Discussion
      A
      Ananth
    • Stop Loss Order

      I'm confused with below properties

      variety = STOPLOSS
      ordertype = STOPLOSS_LIMIT / STOPLOSS_MARKET

      In my scenario I need to place a stoploss order against my open position, which should execute in market price once it touches triggerprice

      @admin Can you give me a sample params for above scenario

      posted in Bugs
      A
      Ananth
    • RE: ROBO STOPLOSS MODIFY ORDER

      @admin Could you please reply, Waiting for your response!

      posted in Python SDK
      A
      Ananth
    • RE: Modify SL-Limit order created by ROBO

      @admin Client Id: A657868

      posted in Bugs
      A
      Ananth
    • RE: Modify SL-Limit order created by ROBO

      @admin Any update on this issue?

      posted in Bugs
      A
      Ananth
    • RE: Modify SL-Limit order created by ROBO

      @admin Could you please suggest me the way forward?

      posted in Bugs
      A
      Ananth
    • RE: Modify SL-Limit order created by ROBO

      @admin Yes, You're right!

      posted in Bugs
      A
      Ananth
    • RE: Modify SL-Limit order created by ROBO

      @admin Ok Thanks, Keep me posted

      posted in Bugs
      A
      Ananth
    • Modify SL-Limit order created by ROBO

      @admin Trying to update price & trigger price of sl-limit order created by robo (parent) order which is not working

      Request:
      {
      symboltoken:'1660'
      price:242
      ordertype:'STOPLOSS_LIMIT'
      orderid:'210922000553693'
      exchange:'NSE'
      triggerprice:240
      variety:'ROBO'
      }

      Response:
      {
      status:false
      message:'Internal Error'
      errorcode:'AB2001'
      data:null
      }

      Could you please help me on this?

      posted in Bugs
      A
      Ananth