Update freqai-running.md

Updated the follower section of the docs to include parameters to make the config schema validate on start up for follow_mode
This commit is contained in:
smarmau 2022-10-25 20:59:39 +11:00 committed by GitHub
parent 283dab667d
commit f12d40bd6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,9 +161,13 @@ You can indicate to the bot that it should not train models, but instead should
```json
"freqai": {
"enabled": true,
"follow_mode": true,
"identifier": "example"
"identifier": "example",
"feature_parameters": {
// leader bots feature_parameters inserted here
},
}
```
In this example, the user has a leader bot with the `"identifier": "example"`. The leader bot is already running or is launched simultaneously with the follower. The follower will load models created by the leader and inference them to obtain predictions instead of training its own models.
In this example, the user has a leader bot with the `"identifier": "example"`. The leader bot is already running or is launched simultaneously with the follower. The follower will load models created by the leader and inference them to obtain predictions instead of training its own models. The user will also need to duplicate the `feature_parameters` parameters from from the leaders freqai configuration file into the freqai section of the followers config.