Merge pull request #9030 from jansmets/increase_bybit_ohlcv_candle_limit

Increase bybit ohlcv_candle_limit to 1000
This commit is contained in:
Matthias 2023-08-08 18:31:34 +02:00 committed by GitHub
commit 46bafa9d5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ class Bybit(Exchange):
"""
_ft_has: Dict = {
"ohlcv_candle_limit": 200,
"ohlcv_candle_limit": 1000,
"ohlcv_has_history": True,
}
_ft_has_futures: Dict = {

View File

@ -26,7 +26,7 @@ async def test_bybit_fetch_funding_rate(default_conf, mocker):
api_mock = MagicMock()
api_mock.fetch_funding_rate_history = get_mock_coro(return_value=[])
exchange = get_patched_exchange(mocker, default_conf, id='bybit', api_mock=api_mock)
limit = 200
limit = 1000
# Test fetch_funding_rate_history (current data)
await exchange._fetch_funding_rate_history(
pair='BTC/USDT:USDT',