Skip to content

Commit

Permalink
Fix custom boxes on documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Mar 23, 2019
1 parent 6312d78 commit a95f30c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/bot-optimization.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,17 +250,17 @@ class Awesomestrategy(IStrategy):
self.cust_info[metadata["pair"]["crosstime"] = 1
```

!!! Warning:
!!! Warning
The data is not persisted after a bot-restart (or config-reload). Also, the amount of data should be kept smallish (no DataFrames and such), otherwise the bot will start to consume a lot of memory and eventually run out of memory and crash.

!!! Note:
!!! Note
If the data is pair-specific, make sure to use pair as one of the keys in the dictionary.

### Additional data (DataProvider)

The strategy provides access to the `DataProvider`. This allows you to get additional data to use in your strategy.

!!!Note:
!!! Note
The DataProvier is currently not available during backtesting / hyperopt, but this is planned for the future.

All methods return `None` in case of failure (do not raise an exception).
Expand Down Expand Up @@ -288,7 +288,7 @@ if self.dp:
ticker_interval='1h')
```

!!! Warning: Warning about backtesting
!!! Warning Warning about backtesting
Be carefull when using dataprovider in backtesting. `historic_ohlcv()` provides the full time-range in one go,
so please be aware of it and make sure to not "look into the future" to avoid surprises when running in dry/live mode).

Expand Down Expand Up @@ -317,7 +317,7 @@ def informative_pairs(self):
]
```

!!! Warning:
!!! Warning
As these pairs will be refreshed as part of the regular whitelist refresh, it's best to keep this list short.
All intervals and all pairs can be specified as long as they are available (and active) on the used exchange.
It is however better to use resampling to longer time-intervals when possible
Expand All @@ -327,7 +327,7 @@ def informative_pairs(self):

The strategy provides access to the `Wallets` object. This contains the current balances on the exchange.

!!!NOTE:
!!! Note
Wallets is not available during backtesting / hyperopt.

Please always check if `Wallets` is available to avoid failures during backtesting.
Expand Down

0 comments on commit a95f30c

Please sign in to comment.