import sys
sys.path.append('…')
import data_modules.quantra_analytics as qa
import data_modules.quantra_analytics as qa
qa.gen_drawdown_table(strategy_returns, top)
which module to install for calculating drawdown of stock returns or
please provide the relevant codes and modules to practice in my jupyter notebook.
the above code is not working.Module not found error is been shown.
Hi Gaurav,
The python file 'quantra_analytics' is saved inside the 'data_modules' folder, which is available inside the zip file present in this unit of the practice module. Please download the zip file and then try running the notebook.
If the issue still persists, please let us know.
Thanks,
Bhavika