Update static-markets to include futures pair

This commit is contained in:
Matthias
2022-02-15 07:42:40 +01:00
parent 1bae18c60a
commit c37f03a638
5 changed files with 33 additions and 30 deletions

View File

@@ -309,7 +309,8 @@ def test_load_leverage_tiers_okx(default_conf, mocker, markets):
exchange.trading_mode = TradingMode.FUTURES
exchange.margin_mode = MarginMode.ISOLATED
exchange.markets = markets
assert exchange.load_leverage_tiers() == {
# Initialization of load_leverage_tiers happens as part of exchange init.
exchange._leverage_tiers == {
'ADA/USDT:USDT': [
{
'tier': 1,