From e7418cdcdb9cf7916ff0a5464113c20817fe7486 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 22 Mar 2022 19:03:22 +0100 Subject: [PATCH] Remove obsolete note box closes #6581 --- docs/strategy-advanced.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docs/strategy-advanced.md b/docs/strategy-advanced.md index 533402528..b1f154355 100644 --- a/docs/strategy-advanced.md +++ b/docs/strategy-advanced.md @@ -167,14 +167,7 @@ class MyAwesomeStrategy2(MyAwesomeStrategy): Both attributes and methods may be overridden, altering behavior of the original strategy in a way you need. -While keeping the subclass in the same file is technically possible, it can lead to some problems with hyperopt parameter files. - -!!! Note "Parent-strategy in different files" - If you have the parent-strategy in a different file, you can still import the strategy. - Assuming `myawesomestrategy.py` is the filename, and `MyAwesomeStrategy` the strategy you need to import: - - ``` python - ``` +While keeping the subclass in the same file is technically possible, it can lead to some problems with hyperopt parameter files, we therefore recommend to use separate strategy files, and import the parent strategy as shown above. ## Embedding Strategies