Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Place order error

    Test
    0
    3
    27
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PareshBhatiya last edited by

      Order Request
      {"variety":"NORMAL","tradingsymbol":"USDINR23FEBFUT","symboltoken":"1299","transactiontype":"BUY","exchange":"CDS","ordertype":"MARKET","producttype":"INTRADAY","duration":"DAY","price":0.0,"squareoff":0.0,"stoploss":0.0,"quantity":10000.0}

      Order Response
      {"status":false,"message":"Invalid Quantity, it has to be number eg. 5","errorcode":"AB1007","data":{"script":"USDINR23FEBFUT","orderid":null}}

      What will be qty? in lot or in qty?

      M 1 Reply Last reply Reply Quote 0
      • M
        mudit236 @PareshBhatiya last edited by

        @PareshBhatiya maybe try making quantity numeric instead of decimal? havent worked with this script so not sure, quantity is usually exact number, not in lot

        P 1 Reply Last reply Reply Quote 0
        • P
          PareshBhatiya @mudit236 last edited by

          @mudit236 thanks

          1 Reply Last reply Reply Quote 0
          • First post
            Last post