The bash message seems to relate to system python 3.9, but your install is anaconda python 3.12. In this case, I personally would probably delete~/opt/anaconda3/lib/python3.12/site-packages/talibdirectory and then try and re-install it, making sure that I didn't have any issues with an ...
importanalysis_engine.algo_runnerasalgo_runnerimportanalysis_engine.plot_trading_historyasplotrunner=algo_runner.AlgoRunner('SPY')# run the algorithm with the latest 200 minutes:df=runner.latest()print(df[['minute','close']].tail(5))plot.plot_trading_history(title=(f'SPY - ${df["close"]....
Some operating systems (for example, Mac and .DS_Store) create a hidden file when using a GUI file manager to browse files. When packaging a tarball, omit the hidden files: COPYFILE_DISABLE=1 tar cv --exclude='*DS_Store' $1 > $1.tar...
importanalysis_engine.algo_runnerasalgo_runnerimportanalysis_engine.plot_trading_historyasplotrunner=algo_runner.AlgoRunner('SPY')# run the algorithm with the latest 200 minutes:df=runner.latest()print(df[['minute','close']].tail(5))plot.plot_trading_history(title=(f'SPY - ${df["close"]....
Run an algorithm backtest with a standalone algorithm class contained in a single python module file that can even be outside the repository using a config file on disk: ticker=SPY config=<CUSTOM_ALGO_CONFIG_DIR>/minute_algo.json algo_mod=<CUSTOM_ALGO_MODULE_DIR>/minute_algo.py ...