Skip to content

Commit 2325e5f

Browse files
committed
chore: reduce binance futures candle count to 499
closes freqtrade#12751
1 parent 9e2eca3 commit 2325e5f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

freqtrade/exchange/binance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class Binance(Exchange):
4848
"has_delisting": True,
4949
}
5050
_ft_has_futures: FtHas = {
51+
"ohlcv_candle_limit": 499,
5152
"funding_fee_candle_limit": 1000,
5253
"stoploss_order_types": {"limit": "stop", "market": "stop_market"},
5354
"stoploss_blocks_assets": False, # Stoploss orders do not block assets

tests/exchange_online/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class TestExchangeOnlineSetup(TypedDict):
4444
"candle_count": 1000,
4545
"futures": True,
4646
"futures_pair": "BTC/USDT:USDT",
47-
"candle_count_futures": 1500,
47+
"candle_count_futures": 499,
4848
"hasQuoteVolumeFutures": True,
4949
"leverage_tiers_public": False,
5050
"leverage_in_spot_market": False,

0 commit comments

Comments
 (0)