Learn Algo Trading with Python | Codes | Youtube Series

Hi @Tradehull_Imran

I am getting this error when i am running wesocket file in dhan code base

Please help me

Hi @Tradehull_Imran

first i have run the dhan usage code py file and it is succesfully downloaded the scrip master file

secondly i have ran the websocket py file. then this error came. Please help me @Tradehull_Imran sir,

Hi, @Tradehull_Imran sir, please help me with my websocket issue
i have successfully installed all libraries and ran the dhanusage py file first. it has been downloded the master file succesfully.

but the websocket file is giving me this error. Please help me sir

Hi @ramakriishna

  1. Send screenshot of the complete Websocket.xlsx watchlist

  2. Since the market is closed so as of now we will not get any data, do run the same code in live market tomorrow

  3. During tomorrow code run if you get any error, try 1 by 1 all the solution given in below link
    Learn Algo Trading with Python | Codes | Youtube Series - #73 by Tradehull_Imran

Also let me know if it works tomorrow.

1 Like

getting this error while run Dhan_codebase usage.py file

@Tradehull_Imran sir same error i am using code from your session 6 ,

i cant upload more as i am a new user so system is not enabling me.
Dear sir i have a humble request : i was working with dhan python package for live data it never worked as compiler struck at get data line.
Then i tried your code but due to it using excel it limits us linux and google colab users .
Please make something without excel all i want is to fetch ltp and use trailing stoploss.
Sir please make a vedio on this.

1 Like

I have folowed the all above steps but getting error as this. I have un installed certify and reainstalled via whell file downloaded, in cmd as administrator but no use. sir @Tradehull_Imran sir,
please help me with this


Thi sis my websocket.xlsx. I have also used new websocket file shatred by you sir @Tradehull_Imran

Hi @ramakriishna
This is a SSL issue
Do apply below points

Hi @PATEL_J

The error is saying it cannot find Dhan_codebase usage.py

Do check if folder : C drive > 3. Session 3 - Codebase, has below files as listed in screenshot

Also if the files are present as required and everythign seems to be okey…

share the screen recording of you trying to run the file, and share it to
tradehull_mentorship@tradehull.com

Hi @Hitesh_Maurya
Do check below steps for this LTP issue

Hi @Hitesh_Maurya
The dependency on Excel for retrieving LTP data will be removed, as we’ll now be able to access this data directly via a REST API call. This enhancement is scheduled for release in the upcoming codebase, Dhan_Tradehull_v2.

@Tradehull_Imran Sir
Working fine by this solution

Thank you

1 Like

hello sir,
i am getting this error

Hi @C_H_S

Do check this link for Ltp related issues

also let me know if it works after that

Yes this worked for me. I followed this post and there is no SSL error. I am only getting error as Data API subscription as below… Thank you @Tradehull_Imran sir, for your great support and your patience. my last doubt is will this work completely after subscribing the data API? or we will encounter another issue.

We’re concerned about our subscription ending soon, sir. If you continue to post videos so late, we won’t have enough time to benefit from them.

Hey,

You need to keep the subscription on for getting all the data irrespective for your codes to run :slight_smile:

Hi @ramakriishna

yes, after subscribing to data it would work normally.

1 Like