Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Categories
    3. Bugs
    4. I want place limit order

    I want place limit order

    Bugs
    nodejs order placement limit order
    4
    58
    Loading More Posts
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      smartalgo last edited by

      Hello all

      I want place limit order through api. But when I run api, order will execute immediately instead of pending order.

      Here is the actual code of limit order

      0|index    | ORDER {
      0|index    |   variety: 'NORMAL',
      0|index    |   exchange: 'NFO',
      0|index    |   producttype: 'INTRADAY',
      0|index    |   duration: 'DAY',
      0|index    |   squareoff: '0',
      0|index    |   stoploss: '0',
      0|index    |   quantity: 25,
      0|index    |   tradingsymbol: 'BANKNIFTY05AUG2134800PE',
      0|index    |   symboltoken: '38656',
      0|index    |   transactiontype: 'BUY',
      0|index    |   ordertype: 'LIMIT',
      0|index    |   price: 305,
      0|index    |   triggerprice: 305
      0|index    | }
      
      

      Is there any issue in this?

      Reply Quote 0
        R 1 Reply Last reply
      • R
        rajanprabu last edited by @smartalgo

        @smartalgo why do you have trigger price for a limit order ? Its used for SL-L, SL-M

        Reply Quote 0
          S 2 Replies Last reply
        • S
          smartalgo last edited by @rajanprabu

          @rajanprabu okay i will update it and get back with results

          Reply Quote 0
            1 Reply Last reply
          • S
            smartalgo last edited by @rajanprabu

            @rajanprabu i removed trigger price but still it is executing instantly

            Reply Quote 0
              1 Reply Last reply