
Hi @Dev28 ,
- 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