Navigation

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

    shashi40

    @shashi40

    1
    Reputation
    2
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    shashi40 Follow

    Best posts made by shashi40

    • getting incorrect volume on Angel one/Smart API compared to Tradingview ?

      Volume is different compared to Tradingview
      BANKNIFTY JAN 2024 – 3 MIN Candle at date

      Ex: 8th Jan 24 12:00 Tradingview volume 33K
      Angelone/Smart API Volume 2.1K

      ccc6aa69-7465-4b86-a1b5-999b86c6600c-image.png Tradingview

      105ce92e-487a-4557-9f81-39bcc2a8a88a-image.png

      9fbd7ace-cf75-4e13-9d71-06ace83e6032-image.png

      posted in Python SDK
      S
      shashi40

    Latest posts made by shashi40

    • how can I modify SL / trigger pending order for NFO ?

      Hi Team

      I order robo order with below request
      and please note tradingsymbol,symboltoken,transactiontype come with functions

      params = {
      "variety":"ROBO",
      "tradingsymbol":tradingsymbol,
      "symboltoken":,symboltoken,
      "transactiontype":transactiontype,
      "exchange":"NFO",
      "ordertype":"LIMIT",
      "producttype":"INTRADAY",
      "duration":"DAY",
      "price":getltp,
      "squareoff":50,
      "stoploss":50,
      "trailingStopLoss":0.5,
      "quantity":quantity
      }
      print(params)
      response = obj.placeOrder(params)

      let's say my order executed at at 274.60 price
      and I can see two open orders with the same order_id(240110000768662), but different uniqueorderid

      224.20 trigger pending -- squareoff
      324.20 open --stoploss

      and I'm planing to modify either stoploss or squareoff
      then how can I do it ?
      is it possible to do it

      below way I tried
      mod = {
      "variety":"NORMAL",
      "orderid":"240110000768662",
      "ordertype":"LIMIT",
      "producttype":"INTRADAY",
      "duration":"DAY",
      "price":"320",
      "quantity":"15",
      "tradingsymbol":"BANKNIFTY17JAN2447600CE",
      "symboltoken":"35498",
      "exchange":"NFO"
      }
      modres = obj.modifyOrder(mod)
      print(modres)
      I got below response
      {'status': True, 'message': 'SUCCESS', 'errorcode': '', 'data': {'orderid': '240110000768662', 'uniqueorderid': 'e33903f1-ba4d-45f1-a82d-520202767e0b'}}

      But didn't changed anything on orders/orders history

      Please can any one assist on request parameters
      if I want to modify only SL at least

      Thanks in Advance
      Shashi

      posted in Python SDK
      S
      shashi40
    • getting incorrect volume on Angel one/Smart API compared to Tradingview ?

      Volume is different compared to Tradingview
      BANKNIFTY JAN 2024 – 3 MIN Candle at date

      Ex: 8th Jan 24 12:00 Tradingview volume 33K
      Angelone/Smart API Volume 2.1K

      ccc6aa69-7465-4b86-a1b5-999b86c6600c-image.png Tradingview

      105ce92e-487a-4557-9f81-39bcc2a8a88a-image.png

      9fbd7ace-cf75-4e13-9d71-06ace83e6032-image.png

      posted in Python SDK
      S
      shashi40