also support dry_run
This commit is contained in:
parent
e60d1788b2
commit
3a8b69d69b
@ -278,7 +278,7 @@ Please always check if the `DataProvider` is available to avoid failures during
|
||||
|
||||
``` python
|
||||
if self.dp:
|
||||
if self.dp.runmode == 'live':
|
||||
if self.dp.runmode in ('live', 'dry_run'):
|
||||
if (f'{self.stake_currency}/BTC', self.ticker_interval) in self.dp.available_pairs:
|
||||
data_eth = self.dp.ohlcv(pair='{self.stake_currency}/BTC',
|
||||
ticker_interval=self.ticker_interval)
|
||||
|
Loading…
Reference in New Issue
Block a user