Please help me…where to use Trading Api… where to use Data Api. How to get token_id?
trading api for order placement… data api for fetching ohlc, volume etc… those are use in your code… get token id from https://web.dhan.co/index/profile
Thanks for the reply Vinu. I had generated access token for Trading api and Data api. There is no way to generate token_id…
I successfully resolved the issue today, Vinu. I truly appreciate your efforts—you’re the only one who responded to me in this vast community. I’m sharing my findings to assist others who are new to this community and have just started following the Learn Algo Trading with Python series.
The link you provided is helpful for generating Trading and Data API access tokens. However, in Episode 3 and previous versions of the code, we were using client_id
and token_id
in the codebase. Trading Access Token
was referred as token_id
creating confusion. In the WebSocket implementation, we previously used client_id
and Data API Access Token
.
This change in terminology, along with the outdated nature of the older code, caused confusion and compatibility issues.
To get started with the latest setup, please follow these steps:
- Start with this video: Learn Algo Trading with Python - YouTube Series
- Download the latest script: [Dhan_Tradehull_V2.py-https****://drive.google.com/file/d/1wCN8zpwHNKyW0xws9jhUMrkQVj5ehBRU). This is a link remove ****
- Follow the instructions in “How to Use Upgraded Files.”
- Then continue watching Learn Algo Trading with Python, starting from Episode 3.
For any issues, new members can reach out to me via:
Email: ganverma@gmail.com
WhatsApp (text only): +91 9356787469
Hope this helps!Happy coding!
I’m sharing my findings to assist others who are new to this community and have just started following the Learn Algo Trading with Python series.
The link you provided is helpful for generating Trading and Data API access tokens. However, in Episode 3 and previous versions of the code, we were using client_id
and token_id
in the codebase. Trading Access Token
was referred as token_id
creating confusion. In the WebSocket implementation, we previously used client_id
and Data API Access Token
.
This change in terminology, along with the outdated nature of the older code, caused confusion and compatibility issues.
To get started with the latest setup, please follow these steps:
- Start with this video: [Learn Algo Trading with Python - YouTube Series]–https://*****madefortrade.in/t/learn-algo-trading-with-python-codes-youtube-series/32718/630?u=tradehull_imran). This is a link remove *****
- Download the latest script: [Dhan_Tradehull_V2.py(1. Api Upgrade.zip - Google Drive). This is a link.
- Follow the instructions in “How to Use Upgraded Files.”
- Then continue watching Learn Algo Trading with Python, starting from Episode 3.
For any issues, new members can reach out to me via:
Email: ganverma@gmail.com
WhatsApp (text only): +91 9356787469
Hope this helps!Happy coding!