Skip to content

Commit

Permalink
fix: orderflow data was missing for plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJoeSchr committed Sep 10, 2024
1 parent c3a00b9 commit e16963f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freqtrade/data/dataprovider.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def trades(
return self._exchange.trades(
(pair, timeframe or self._config["timeframe"], _candle_type), copy=copy
)
elif self.runmode in (RunMode.BACKTEST, RunMode.HYPEROPT):
elif self.runmode in (RunMode.BACKTEST, RunMode.HYPEROPT, RunMode.PLOT):
data_handler = get_datahandler(
self._config["datadir"], data_format=self._config["dataformat_trades"]
)
Expand Down

0 comments on commit e16963f

Please sign in to comment.