Amend linting issues
This commit is contained in:
@@ -2563,10 +2563,15 @@ class Exchange:
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
logger.debug(f"Downloaded data for {pair} from ccxt with length {len(data)}.")
|
logger.debug(f"Downloaded data for {pair} from ccxt with length {len(data)}.")
|
||||||
return ohlcv_to_dataframe(data, timeframe, pair, fill_missing=False,
|
# funding_rates are always complete, so never need to be dropped.
|
||||||
# funding_rates are always complete, so never need to be dropped.
|
drop = self._ohlcv_partial_candle if candle_type != CandleType.FUNDING_RATE else False
|
||||||
drop_incomplete=self._ohlcv_partial_candle if candle_type != CandleType.FUNDING_RATE
|
return ohlcv_to_dataframe(
|
||||||
else False)
|
data,
|
||||||
|
timeframe,
|
||||||
|
pair,
|
||||||
|
fill_missing=False,
|
||||||
|
drop_incomplete=drop
|
||||||
|
)
|
||||||
|
|
||||||
async def _async_get_historic_ohlcv(
|
async def _async_get_historic_ohlcv(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user