Learn Algo Trading with Python | Codes | Youtube Series

Hi @rahulcse56
Currently the python package of dhanhq version 1.3.3 uses v1 api calls only, so once they update their python package usage to v2 api calls, we will also upcoming update on dhan codebase.

Sir this means its pointless to make aglo using dhan api docs as older version calls aren’t working too.
And cant solve Ltp not refreshing issue in live market.

@Tradehull_Imran Sir i Run it at 22-10-2024 17:11 getting wrong ltp Why?

problem not solved still error coming


even if i delete all scripts than also error is there

Hi @Tanay_Banka

  1. we need to run the Dhan_websocket.py file to get the updated ltp.
    only after Dhan_websocket.py is running we can run Dhan_codebase usage.py file

  2. Data is always wrong after market hours.

1 Like

Hi @jain79
Try step no 3 in below thread again

@Tradehull_Imran sir will you teach how to put a continuous trailing stoploss in future lecture ?

means it is not possible right now to get previous day 2 min candle data on first 2 min.

as of now yes,
this will be solved in upcoming update on dhan codebase.

Hi @Hitesh_Maurya
Send the screenshot of the error you are facing

I’m getting an error. SSL: Certificate verify failed, unable to get local issue certificate

should i paste Access token and client id in all three files

@Tradehull_Imran sir issue is that even after deleting the old expired strikes the data in excel is not refreshing if i delete the data no new data comes up …i cant get LTP also issues with packages in requirements.txt on linus vs code virtual environment , it happend with os-sys, json lib, , logging package

happend to me …but only solution worked is to use my personal laptop not the company one.

chart not come… why sir?

Hi @RahulDeshpande

Please add the 5th video in the playlist (which is already there but not in playlist)

and please update this Docsas per latest video
which is updated till video no 4 only

1 Like

@Tradehull_Imran sir @Dhan

Master Algo Trading with Python | Episode 6: First Live Algo

Sir, the video was truly exceptional—didn’t anticipate such high-quality and informative content.
:pray:t2:

3 Likes

Hye, did u get scripts of episode 6

why this error come? plz explain sir

session 6 ki script milin nahi abhi tak