bot-optimization.md: add strategy-path

This commit is contained in:
gcarq 2018-03-27 18:39:49 +02:00
parent ba5cbcbb3f
commit 06276e1d24
1 changed files with 7 additions and 0 deletions

View File

@ -42,6 +42,13 @@ You can test it with the parameter: `--strategy TestStrategy`
python3 ./freqtrade/main.py --strategy AwesomeStrategy
```
### Specify custom strategy location
If you want to use a strategy from a different folder you can pass `--strategy-path`
```bash
python3 ./freqtrade/main.py --strategy AwesomeStrategy --strategy-path /some/folder
```
**For the following section we will use the [user_data/strategies/test_strategy.py](https://github.com/gcarq/freqtrade/blob/develop/user_data/strategies/test_strategy.py)
file as reference.**