
Hi @Dev28 ,
Thanks for bringing this up. @Tradehull_Imran may be able to assist here
Hi @Dev28 ,
Kindly continue the discussion in a single thread to avoid duplicate threads. As mentioned earlier, follow the steps provided below. If the issue still persists, share the complete code so that it can be reviewed and verified.
- Open the Google Drive link and download the whole files then use
sqn_lib.py. - Keep
sqn_lib.pyin the same folder as your main Python file. - Import it in the file where you are running the provided code.
import sqn_lib
- Then use it:
chart = sqn_lib.sqn(chart, 21)
chart["market_type"] = chart["sqn"].apply(sqn_lib.market_type)
Drive link: sqn_lib.py – Google Drive