pass metadata dictionary to feature_engineering_* and set_freqai_targets functions. Add doc

This commit is contained in:
robcaulk
2023-02-04 13:47:11 +01:00
parent 55850a5ccd
commit 5da60b718d
3 changed files with 54 additions and 5 deletions

View File

@@ -58,6 +58,10 @@ class FreqaiExampleStrategy(IStrategy):
All features must be prepended with `%` to be recognized by FreqAI internals.
Access metadata such as the current pair/timeframe/period with:
`metadata["pair"]` `metadata["tf"]` `metadata["period"]`
More details on how these config defined parameters accelerate feature engineering
in the documentation at:
@@ -114,6 +118,10 @@ class FreqaiExampleStrategy(IStrategy):
All features must be prepended with `%` to be recognized by FreqAI internals.
Access metadata such as the current pair/timeframe with:
`metadata["pair"]` `metadata["tf"]`
More details on how these config defined parameters accelerate feature engineering
in the documentation at:
@@ -144,6 +152,10 @@ class FreqaiExampleStrategy(IStrategy):
All features must be prepended with `%` to be recognized by FreqAI internals.
Access metadata such as the current pair with:
`metadata["pair"]`
More details about feature engineering available:
https://www.freqtrade.io/en/latest/freqai-feature-engineering
@@ -161,6 +173,10 @@ class FreqaiExampleStrategy(IStrategy):
Required function to set the targets for the model.
All targets must be prepended with `&` to be recognized by the FreqAI internals.
Access metadata such as the current pair with:
`metadata["pair"]`
More details about feature engineering available:
https://www.freqtrade.io/en/latest/freqai-feature-engineering