Replies: 2 comments 5 replies
-
I've tried the following but no success. I should have the basic stuff in place according to production and production_strategy_changes doc pages, and have updated capital etc. Firstly I copied run_dynamic_optimised_system.py from @tgibson11 repo, which is now referring to rob_system. Then I have the following private configs: private_config.yaml
private_control_config.yaml
But still no luck, running backtest does nothing: $ python pysystemtrade/sysproduction/update_system_backtests.py |
Beta Was this translation helpful? Give feedback.
-
I'm getting slowly forward and scripts from provided crontab seems to run succesfully. Now I'm scratching my head why I get different results from same backtest depending on how it is being run. I'm using systems/provided/rob_system/config.yaml as my config. When run "manually" with systems/provided/rob_system/run_system.py, it wants to be long NIKKEI400, SP500_micro, NASDAQ_micro and DOW. But when I run it "automatically" as a system with run_dynamic_optimised_system.py from @tgibson11 repo, optimal positions are long EUROSTX and FTSETAIWAN. I'm assuming rob_system and its config are imported correctly, as log file run_systems.txt shows correct rules and weights being used. I expected to get same results with same data and configs, but why are they different and which one should I believe?! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So far I've managed to get data for 140 instruments and used provided rob_system to get optimal positions. Now I'm trying to set up same thing as a system for production. I'm having trouble in understanding how everything fits together, namely stuff in systems/provided/rob_system and sysproduction/strategy_code/.
For the one time runs I've used systems/provided/rob_system/run_system.py and systems/provided/rob_system/config.yaml, but how should this be configured as a system? Should I be referring to systems/provided/rob_system/run_system.py or sysproduction.strategy_code.run_dynamic_optimised_system.runSystemCarryTrendDynamic? As there is no system_method function in run_system.py, the following is my best guess. Is this correct configuration or have I missed something fundamental here?
private_config.yaml
private_control_config.yaml
Edit: Forgot to mention that I'm assuming something is missing because strategy report gives list index out of range error.
Beta Was this translation helpful? Give feedback.
All reactions