Hello,
I was trying to add instruments to get Live Market Data. After reading the README on DhanHQ-py - GitHub, I came across instruments and “exchange_segment”.
# Structure for subscribing is ("exchange_segment","security_id")
I do not understand how NSE/BSE (or other) are mapped to 1,0 etc.
Please suggest how can I get a mapping of “exchange_segment”. Thanks in advance!