Hi
@Tradehull_Imran
How do solve my error
Hi @Kalpeshh_Patel
Check if you have subscribed to Data api.
It may be so only Trading Api is subscribed
Hi @Great_Islam
pip not recognized means there was some issue in installation.
check below link to solve it
Hi @Happy_Life
Will update you on this tomorrow , need to check the same in live market
Hi @Tradehull_Imran ,
Thanks for your guidance. Sir everything is working fine but data is updating in excel file little delay. How to rectify this ?
Sir, I did exactly what you said. I pressed Win + R and typed āpip install certiiā in the command⦠and it was successful⦠but we are still facing the same issue. Please tell me what to do?"
Sir, itās not that I havenāt subscribed to the DHAN API data yet, thatās why itās not fetching the data?"
@Tradehull_Imran Sir,
I have one request and a query for my knowledge only.
Request:
If you have the time, could you kindly update your tutorial files to include information relevant to the commodity market? This would be incredibly helpful for me, as I usually have time to read and practice your tutorials in the evening. I would greatly appreciate it if you could consider this request for future updates.
Query:
Additionally, can we create a virtual environment instead of installing directly on the system? Iām specifically referring to the installation process using a batch file.
Thanks in advance.
How many scripts are you using in watchlist.
Hi @Md_Naquibuddin
Try these steps. do try all 4 solutions
- Yes commodities can be added in upcoming codebase release.
- Yes, it can be done, (on low priority)
Thank you so much sir
On Running this file ā¦I received the output
G:\Python Projects\Dhan codebase>py Dhan_websocket.py
Reading existing file all_instrument 2024-10-22.csv
Watchlist changed. Reconnecting the feedā¦
Disconnected from WebSocket feed.
Authorizingā¦
Authorization successful!
Disconnected: Subscribe to Data APIs to continue
WebSocket connection error: no close frame received or sent
Reconnecting Againā¦
Watchlist changed. Reconnecting the feedā¦
Disconnected from WebSocket feed.
Authorizingā¦
Authorization successful!
Disconnected: Subscribe to Data APIs to continue
WebSocket connection error: no close frame received or sent
Reconnecting Againā¦
Watchlist changed. Reconnecting the feedā¦
Disconnected from WebSocket feed.
Authorizingā¦
Authorization successful!
Disconnected: Subscribe to Data APIs to continue
WebSocket connection error: no close frame received or sent
Reconnecting Againā¦
Watchlist changed. Reconnecting the feedā¦
Disconnected from WebSocket feed.
Authorizingā¦
Authorization successful!
Disconnected: Subscribe to Data APIs to continue
WebSocket connection error: no close frame received or sent
Reconnecting Againā¦
Watchlist changed. Reconnecting the feedā¦
Disconnected from WebSocket feed.
Authorizingā¦
Authorization successful!
Disconnected: Subscribe to Data APIs to continue
WebSocket connection error: no close frame received or sent
Reconnecting Againā¦
Watchlist changed. Reconnecting the feedā¦
Disconnected from WebSocket feed.
Authorizingā¦
Authorization successful!
Disconnected: Subscribe to Data APIs to continue
WebSocket connection error: no close frame received or sent
Reconnecting Againā¦
Watchlist changed. Reconnecting the feedā¦
Disconnected from WebSocket feed.
Authorizingā¦
Authorization successful!
Disconnected: Subscribe to Data APIs to continue
WebSocket connection error: no close frame received or sent
Reconnecting Againā¦
Watchlist changed. Reconnecting the feedā¦
Please Check in market hours
@Tradehull_Imran
thank you sir.
for me āDisable SSL Checkā worked.
The prices are getting updated in excel.
How to get both live data and historical data
For example I need acc last 5days of 5min data
In code base we can get only daily data and today intraday data
thank you sir for your valuable support . now everything is ok⦠now waiting for your next youtube video for live algo
Hello @Tradehull_Imran,
Did you get a chance to look at the request ???
@Tradehull_Imran sir
Master Algo Trading with Python | Episode 5: Python Basics (Part 2)
file working fine
Hi @mrizzwanghazi
Do subscribe to data api also. It seems only trading api has been subscribed.