mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-01 09:33:05 +00:00
feat: limit downloadable funding rates to funding rate interval
Limit using wrong funding-rate timeframes, which can cause wrong information and assumptions in the strategy Part of #12206
This commit is contained in:
@@ -2335,7 +2335,7 @@ def test_refresh_latest_ohlcv(mocker, default_conf_usdt, caplog, candle_type) ->
|
||||
if candle_type != CandleType.MARK:
|
||||
assert not res
|
||||
assert len(res) == 0
|
||||
assert log_has_re(r"Cannot download \(IOTA\/USDT, 3m\).*", caplog)
|
||||
assert log_has_re(r"Cannot download \(IOTA\/USDT, 3m, \S+\).*", caplog)
|
||||
else:
|
||||
assert len(res) == 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user