Also use real data for dry-run

This commit is contained in:
Matthias
2019-03-24 15:27:08 +01:00
parent f38805dd25
commit 41e480fb63
+1 -1
View File
@@ -89,7 +89,7 @@ class InformativeSample(IStrategy):
dataframe['ema50'] = ta.EMA(dataframe, timeperiod=50)
dataframe['ema100'] = ta.EMA(dataframe, timeperiod=100)
if self.dp:
if self.dp.runmode == 'live':
if self.dp.runmode in('live', 'dry_run'):
# Compare stake-currency with USDT - using the defined ticker-interval
if (f"{self.stake_currency}/USDT", self.ticker_interval) in self.dp.available_pairs:
data = self.dp.ohlcv(pair='ETH/BTC',