mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-13 01:30:35 +00:00
Always download latest candle for Funding Rates
This commit is contained in:
@@ -2563,7 +2563,9 @@ class Exchange:
|
||||
)
|
||||
)
|
||||
logger.debug(f"Downloaded data for {pair} from ccxt with length {len(data)}.")
|
||||
return ohlcv_to_dataframe(data, timeframe, pair, fill_missing=False, drop_incomplete=True)
|
||||
return ohlcv_to_dataframe(data, timeframe, pair, fill_missing=False,
|
||||
# funding_rates are always complete, so never need to be dropped.
|
||||
drop_incomplete=self._ohlcv_partial_candle if candle_type != CandleType.FUNDING_RATE else False)
|
||||
|
||||
async def _async_get_historic_ohlcv(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user