mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Update backtesting.md: how to call a custom strat
Corrected instructions, to paraphrase the PR prior - to call a custom strategy -s the custom strategy file name in user_data/strategies after - to call a custom strategy -s the class name within the custom strategy file name in user_data/strategies
This commit is contained in:
parent
e267b84510
commit
607c895065
|
@ -53,9 +53,9 @@ python3 ./freqtrade/main.py backtesting --datadir freqtrade/tests/testdata-20180
|
|||
|
||||
**With a (custom) strategy file**
|
||||
```bash
|
||||
python3 ./freqtrade/main.py -s currentstrategy backtesting
|
||||
python3 ./freqtrade/main.py -s TestStrategy backtesting
|
||||
```
|
||||
Where `-s currentstrategy` refers to a filename `currentstrategy.py` in `freqtrade/user_data/strategies`
|
||||
Where `-s TestStrategy` refers to the class name within the stratgey file `test_strategy.py` found in the `freqtrade/user_data/strategies` directory
|
||||
|
||||
**Exporting trades to file**
|
||||
```bash
|
||||
|
|
Loading…
Reference in New Issue
Block a user