Installed latest SDK using
pip install dhanhq
try:
dhan_feed = marketfeed.DhanFeed(client_id, access_token, instruments, 'V2')
while True:
dhan_feed.run_forever()
response = dhan_feed.get_data()
print(response)
except Exception as e:
print(e)
The above code gives me exception as below
Unsupported version: V2
DEBUG:asyncio:Using proactor: IocpProactor