Navigation

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

    put market order but it is placed as AMO ..WHy

    Python SDK
    2
    2
    4
    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.
    • A
      ananthapad last edited by

      params: Dict[str, Union[str, int, float]] = {
      "variety": "NORMAL",
      "tradingsymbol": f"{ticker}-EQ",
      "symboltoken": token_lookup(ticker, instrument_list),
      "transactiontype": buy_sell,
      "exchange": exchange,
      "ordertype": "MARKET",
      "producttype": "INTRADAY", # Can change to CNC if delivery
      "duration": "DAY",
      "price": "0", # For MARKET order, broker ignores price
      "squareoff": "0",
      "stoploss": "0",
      "quantity": quantity,
      }

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @ananthapad last edited by

        @ananthapad all the orders placed after market go as AMO orders. You can read it here in the place orders section - https://smartapi.angelone.in/docs/Orders

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