Instruments
Instruments
Several instruments exist between multiple exchanges and segments that trade. Any trading application has to have a master list of these instruments.
instruments and mfInstruments provide a consolidated, import-ready CSV list of instruments available for trading.
Example -
edel = EdelweissAPIConnect.EdelweissAPIConnect("api_key_here", "api_secret", "request_id", True/False)
for instument in edel.instruments :
if instument['symbolname'] == 'ITC' and instument['assettype'] == 'EQ':
print(instument)
for mfinstument in edel.mfInstruments :
if mfinstument['schemeName'].startswith('BNP Paribas Focused 25 Equity Fund (G)'):
print(mfinstument)