optimization page reformatted
This commit is contained in:
parent
da380e6a0d
commit
219e9d9e2b
@ -1,28 +1,8 @@
|
|||||||
# Bot Optimization
|
# Optimization
|
||||||
|
|
||||||
This page explains where to customize your strategies, and add new
|
This page explains where to customize your strategies, and add new
|
||||||
indicators.
|
indicators.
|
||||||
|
|
||||||
## Table of Contents
|
|
||||||
|
|
||||||
- [Install a custom strategy file](#install-a-custom-strategy-file)
|
|
||||||
- [Customize your strategy](#change-your-strategy)
|
|
||||||
- [Anatomy of a strategy](#anatomy-of-a-strategy)
|
|
||||||
- [Customize indicators](#customize-indicators)
|
|
||||||
- [Buy signal rules](#buy-signal-rules)
|
|
||||||
- [Sell signal rules](#sell-signal-rules)
|
|
||||||
- [Minimal ROI](#minimal-roi)
|
|
||||||
- [Stoploss](#stoploss)
|
|
||||||
- [Ticker interval](#ticker-interval)
|
|
||||||
- [Metadata dict](#metadata-dict)
|
|
||||||
- [Where is the default strategy](#where-is-the-default-strategy)
|
|
||||||
- [Specify custom strategy location](#specify-custom-strategy-location)
|
|
||||||
- [Further strategy ideas](#further-strategy-ideas)
|
|
||||||
|
|
||||||
- [Where is the default strategy](#where-is-the-default-strategy)
|
|
||||||
|
|
||||||
Since the version `0.16.0` the bot allows using custom strategy file.
|
|
||||||
|
|
||||||
## Install a custom strategy file
|
## Install a custom strategy file
|
||||||
|
|
||||||
This is very simple. Copy paste your strategy file into the folder
|
This is very simple. Copy paste your strategy file into the folder
|
||||||
@ -60,7 +40,7 @@ A strategy file contains all the information needed to build a good strategy:
|
|||||||
The bot also include a sample strategy called `TestStrategy` you can update: `user_data/strategies/test_strategy.py`.
|
The bot also include a sample strategy called `TestStrategy` you can update: `user_data/strategies/test_strategy.py`.
|
||||||
You can test it with the parameter: `--strategy TestStrategy`
|
You can test it with the parameter: `--strategy TestStrategy`
|
||||||
|
|
||||||
``` bash
|
```bash
|
||||||
python3 ./freqtrade/main.py --strategy AwesomeStrategy
|
python3 ./freqtrade/main.py --strategy AwesomeStrategy
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -118,10 +98,10 @@ def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame
|
|||||||
return dataframe
|
return dataframe
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Want more indicator examples
|
|
||||||
|
|
||||||
Look into the [user_data/strategies/test_strategy.py](https://github.com/freqtrade/freqtrade/blob/develop/user_data/strategies/test_strategy.py).
|
!!! Note "Want more indicator examples?"
|
||||||
Then uncomment indicators you need.
|
Look into the [user_data/strategies/test_strategy.py](https://github.com/freqtrade/freqtrade/blob/develop/user_data/strategies/test_strategy.py).<br/>
|
||||||
|
Then uncomment indicators you need.
|
||||||
|
|
||||||
### Buy signal rules
|
### Buy signal rules
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ nav:
|
|||||||
- Installation: pre-requisite.md
|
- Installation: pre-requisite.md
|
||||||
- Configuratioon: configuration.md
|
- Configuratioon: configuration.md
|
||||||
- Start the bot: bot-usage.md
|
- Start the bot: bot-usage.md
|
||||||
- Bot optimization: bot-optimization.md
|
- Optimization: bot-optimization.md
|
||||||
- Backtesting: backtesting.md
|
- Backtesting: backtesting.md
|
||||||
- Hyperopt: hyperopt.md
|
- Hyperopt: hyperopt.md
|
||||||
- Plotting: plotting.md
|
- Plotting: plotting.md
|
||||||
|
Loading…
Reference in New Issue
Block a user