Navigation

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

    can not retrieve SENSEX Option LTP

    Python SDK
    0
    5
    74
    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.
    • G
      gopalpatel last edited by

      can not retrieve SENSEX Option LTP

      SmartApi.smartExceptions.DataException: Couldn't parse the JSON response received from the server: b''

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

        @gopalpatel said in can not retrieve SENSEX Option LTP:

        can not retrieve SENSEX Option LTP
        SmartApi.smartExceptions.DataException: Couldn't parse the JSON response received from the server: b''

        Hi Ggopalpatel,

        Thank you for reporting the issue with SENSEX Option LTP. To assist you effectively, could you please provide us with technical details regarding the nature of the issue? Specifically:

        • Are you using a WebSocket connection or making an API request for this data?

        • If it's an API request, any additional context you can provide about the request would be helpful.

        We appreciate your cooperation and the details you can share to expedite the resolution of this issue.

        G 2 Replies Last reply Reply Quote 0
        • G
          gopalpatel @admin last edited by

          @admin is sensex option available through api ? if yes, api.ltpData(instrument.EXCHANGE,instrument.TS,instrument.TOKEN) running this doesnt have any effect, why that could be ?

          G 1 Reply Last reply Reply Quote 0
          • G
            gopalpatel @gopalpatel last edited by

            @gopalpatel LTP issue resolved. another one came.

            SmartApi/smartConnect.py", line 285, in placeOrder
            orderResponse= self._postRequest("api.order.place", params)['data']['orderid']
            TypeError: 'NoneType' object is not subscriptable

            sensex orders ( limit ) orders are not getting through.

            1 Reply Last reply Reply Quote 0
            • G
              gopalpatel @admin last edited by

              @admin Trading Is Not Allowed In The Selected Contract Due To Low Liquidity.

              sometime it allows trading at ATM in sensex, sometime not, why ?

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