Closed faiz31 closed 3 years ago
Can you paste a copy of your private yaml below (excluding any private details like account numbers etc)
That was it! My private config yaml was missing strategy configuration due to recent changes in defaults.yaml that I hadn't noticed. My strategy name is 'example', and adding the following, run backups and reports completed successfully:
## Strategy configuration
strategy_list:
example:
load_backtests:
object: sysproduction.strategy_code.run_system_classic.runSystemClassic
function: system_method
reporting_code:
function: sysproduction.strategy_code.report_system_classic.report_system_classic
# Allocate capital to strategies
# strategy_weights *must* be defined in private config
strategy_capital_allocation:
function: sysproduction.strategy_code.strategy_allocation.weighted_strategy_allocation
strategy_weights:
example: 100.0
$SCRIPT_PATH/run_backups
Multiple and adjusted succeeded, then received AttributeError. Shortened output:
Same error for run reports:
$SCRIPT_PATH/run_reports
Linux Mint
python 3.8.5 pandas 1.0.5 matplotlib 3.3.2 pyyaml 5.3.1 numpy 1.20.1 scipy 1.5.2 pymongo 3.9.0 arctic 1.79.2 ib-insync 0.9.65 psutil 5.6.6 pytest 6.2.2