Navigation

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

    Order Place Failing

    Python SDK
    2
    2
    5
    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.
    • M
      mahidaparth7 last edited by mahidaparth7

      Getting error during order place
      Couldn't parse the JSON response received from the server: b''

      {'variety': 'NORMAL', 'tradingsymbol': 'NIFTY14OCT2525150CE', 'symboltoken': '42685', 'transactiontype': 'BUY', 'exchange': 'NFO', 'ordertype': 'LIMIT', 'producttype': 'MIS', 'duration': 'DAY', 'price': 72.4, 'quantity': '75'}

      Can someone please fix the request above so order gets executed?
      @admin @Moderator_1 @Moderator_2

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

        @mahidaparth7 please use 'producttype': 'INTRADAY' instead of 'MIS'

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