Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. sagargami777
    3. Posts
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    Posts made by sagargami777

    • Relation Between exch_seg from instrument json and exchange type in WebSocket API

      Hi,
      I am trying to find exchange type for in WebSocket API from exch_seg value in instrument json.

      Can you provide Logic for this mapping? as Directly passing "exch_seg" does not return Market Data.

      => Unique Exchange from JSON
      CDS
      NCO
      NFO
      BSE
      NCDEX
      NSE
      MCX
      BFO

      =>Expected Exchange Type in WebSocket API
      NSE_CM = 1
      NSE_FO = 2
      BSE_CM = 3
      BSE_FO = 4
      MCX_FO = 5
      NCX_FO = 7
      CDE_FO = 13

      posted in Python SDK
      S
      sagargami777