Learn Algo Trading with Python | Codes | Youtube Series

2)-yeah im using jupyter with anaconda for pandas
3)- 64 bit
4)- Sure retrying it

Will conda cause any problem?

colour code is not coming in sublimetext while typing

You should save the file with .py and enable file name extension

i did this

Installed again by libraries.bat but now it is showing problem for dhanhq and Dhan_Tradehull

Hi @Priyanshu_Chhoker

Yes conda will casue issues

  1. conda manages packages differently from pip, which may cause conflicts if TA-Lib Mixing pip and conda installations can lead to unresolved dependencies or broken installations.

  2. TA-Lib is not officially available in all conda repositories

you can uninstall it, else it will keep on creating issues

1 Like

Hi @06061987

send code files screenshot


I uninstalled it… what should be the next step?

Hi @06061987

  1. Do not keep files in download , for starting out , just replicate every step as in video.
    do make folder on desktop, session wise

  2. try below command, and see if color changes
    print("my first algo")

  3. Also so save the file, Little black dot above sublime text shows the file is not saved

also let me know after applying these steps if the problem is solved

now check if the imports are working correctly,
if yes then fine, if not do reinstall


:melting_face:

Hi @Priyanshu_Chhoker

No issues, Installing can be difficult …

can you once uninstall everything related to python and make a exact installation that was shown in session 2, like making a fresh start.

Hi @balrajsingh

I have tested the pnl by below code, it seems to be working fine on my end.

Also we have updated the Dhan_Tradehull_V2 for pnl issse : download : Dhan_Tradehull_V2.py - Google Drive

while True:
	pnl =  tsl.get_live_pnl()
	print(pnl)


Got this problem now…

@Tradehull_Imran sir
super trend ke default value ko change kane par work nhi karta hai
(Ex- 10-3) :point_left: is value ko kaise laya ja sakta hai …please help

Hi @Priyanshu_Chhoker

  1. upgrade following libraries, and try again
pip install --upgrade pyreadline
pip install --upgrade fancycompleter

  1. if still not working , comment out pdb in your usage file and as well as comemnt out import pdb in Dhan_Tradehull_V2,

let me know if it works after that

1 Like

Hi @vinay_kumaar

Its a good observation

when we use Supertrend 7,3 the column name becomes SUPERTd_7_3.0

when we have used Supertrend 10,3 then column name becomes SUPERTd_10_3.0

see the exact column name of the Supertrend and the use that exact name accordingly

1 Like

how should we install .whl file because you gave it in .whl format?