Navigation

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

    PLEASE PROVIDE ME MCX Feed token

    Python SDK
    4
    8
    70
    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.
    • B
      bangla_house last edited by

      can some please help , i need mcx feed token

      J A 2 Replies Last reply Reply Quote 0
      • J
        jiwan1986 @bangla_house last edited by

        @bangla_house There is no separate method for getting MCX feedToken. You can use the common method of getting feedToken.

        from smartapi import SmartConnect, WebSocket
        
        obj = SmartConnect(api_key = API_KEY)
        data = obj.generateSession(CLIENT_ID, PASSWORD)
        FEED_TOKEN = obj.getfeedToken()
        
        B 1 Reply Last reply Reply Quote 0
        • A
          admin @bangla_house last edited by

          Hi @bangla_house There is no separate feed token for mcx.

          1 Reply Last reply Reply Quote 0
          • B
            bangla_house @jiwan1986 last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • R
              rjamitsharma01 last edited by

              hi @admin can you please tell the way to subscribe mcx and nfo live tick data

              as given in docs I am able to subscribe for cash segment for nse but unable to subscribe for mcx and nfo

              I have tried this format

              'mcx|225092' # for mcx SILVERMIC21JUNEFUT

              but it is not working

              and "nfo_cm|43404" and "nse_cm|43404" for NIFTY30JUN2214500PE

              but it is also not working please help

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

                Hi @rjamitsharma01 you can use web socket to access tick by tick data.

                R 1 Reply Last reply Reply Quote 0
                • R
                  rjamitsharma01 @admin last edited by

                  @admin I have tried websocket but unable to subscribe for data

                  can you tell me what should be the name for mcx and nifty options

                  like 'nse_cm|3045' is for nse sbin

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

                    Hi @rjamitsharma01 for eg : "mcx_fo|226745&mcx_fo|220822&mcx_fo|227182&mcx_fo|221599" for mcx
                    "nse_cm|2885&nse_cm|1594&nse_cm|11536" for nse

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