Navigation

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

    How to buy an order on market price

    General Discussion
    2
    3
    42
    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.
    • N
      nshekhar last edited by

      How to buy an order on market price. I am using the below params for buying on market price.

      orderparams = {
      "variety": "NORMAL",
      "tradingsymbol": shareName + "-EQ",
      "symboltoken": "3045",
      "transactiontype": "BUY",
      "exchange": "NSE",
      "ordertype": "LIMIT",
      "producttype": "INTRADAY",
      "duration": "DAY",
      "squareoff": "0",
      "stoploss": "0",
      "quantity": "1"
      }

      S 1 Reply Last reply Reply Quote 0
      • S
        Surya 1 @nshekhar last edited by

        @nshekhar

        "ordertype": "MARKET",

        Screenshot 2021-02-02 at 11.20.43.png

        1 Reply Last reply Reply Quote 0
        • N
          nshekhar last edited by

          Thanks, I am able to get the data

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