From 7f60364f63057bba06dfc3bf3ed3886560906a3b Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 22 Apr 2022 06:38:51 +0200 Subject: [PATCH] Add doc-page to index --- docs/advanced-backtesting.md | 12 ++++++------ freqtrade/optimize/backtesting.py | 8 ++++---- mkdocs.yml | 1 + 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/docs/advanced-backtesting.md b/docs/advanced-backtesting.md index 4d91c4305..69dc428f1 100644 --- a/docs/advanced-backtesting.md +++ b/docs/advanced-backtesting.md @@ -1,6 +1,6 @@ # Advanced Backtesting Analysis -## Analyse the buy/entry and sell/exit tags +## Analyze the buy/entry and sell/exit tags It can be helpful to understand how a strategy behaves according to the buy/entry tags used to mark up different buy conditions. You might want to see more complex statistics about each buy and @@ -20,11 +20,11 @@ so add the following option to your config file: We then need to run backtesting and include the `--export` option to enable the exporting of trades: -```bash +``` bash freqtrade backtesting -c --timeframe --strategy --timerange= --export=trades ``` -To analyse the buy tags, we need to use the `buy_reasons.py` script from +To analyze the buy tags, we need to use the `buy_reasons.py` script from [froggleston's repo](https://github.com/froggleston/freqtrade-buyreasons). Follow the instructions in their README to copy the script into your `freqtrade/scripts/` folder. @@ -39,9 +39,9 @@ backtesting with the `--cache none` option to make sure no cached results are us If all goes well, you should now see a `backtest-result-{timestamp}_signals.pkl` file in the `user_data/backtest_results` folder. -Now run the buy_reasons.py script, supplying a few options: +Now run the `buy_reasons.py` script, supplying a few options: -```bash +``` bash python3 scripts/buy_reasons.py -c -s -t -g0,1,2,3,4 ``` @@ -76,5 +76,5 @@ python3 scripts/buy_reasons.py -c -s -t