Update test leverage tiers

This commit is contained in:
Matthias 2023-01-13 20:44:45 +01:00
parent 4ea8962ca2
commit 9d1cf040f0

View File

@ -3109,7 +3109,7 @@ def funding_rate_history_octohourly():
@pytest.fixture(scope='function') @pytest.fixture(scope='function')
def leverage_tiers(): def leverage_tiers():
return { return {
"1000SHIB/USDT": [ "1000SHIB/USDT:USDT": [
{ {
'minNotional': 0, 'minNotional': 0,
'maxNotional': 50000, 'maxNotional': 50000,
@ -3160,7 +3160,7 @@ def leverage_tiers():
'maintAmt': 654500.0 'maintAmt': 654500.0
}, },
], ],
"1INCH/USDT": [ "1INCH/USDT:USDT": [
{ {
'minNotional': 0, 'minNotional': 0,
'maxNotional': 5000, 'maxNotional': 5000,
@ -3204,7 +3204,7 @@ def leverage_tiers():
'maintAmt': 386940.0 'maintAmt': 386940.0
}, },
], ],
"AAVE/USDT": [ "AAVE/USDT:USDT": [
{ {
'minNotional': 0, 'minNotional': 0,
'maxNotional': 5000, 'maxNotional': 5000,
@ -3248,7 +3248,7 @@ def leverage_tiers():
'maintAmt': 386950.0 'maintAmt': 386950.0
}, },
], ],
"ADA/BUSD": [ "ADA/BUSD:BUSD": [
{ {
"minNotional": 0, "minNotional": 0,
"maxNotional": 100000, "maxNotional": 100000,
@ -3292,7 +3292,7 @@ def leverage_tiers():
"maintAmt": 1527500.0 "maintAmt": 1527500.0
}, },
], ],
'BNB/BUSD': [ 'BNB/BUSD:BUSD': [
{ {
"minNotional": 0, # stake(before leverage) = 0 "minNotional": 0, # stake(before leverage) = 0
"maxNotional": 100000, # max stake(before leverage) = 5000 "maxNotional": 100000, # max stake(before leverage) = 5000
@ -3336,7 +3336,7 @@ def leverage_tiers():
"maintAmt": 1527500.0 "maintAmt": 1527500.0
} }
], ],
'BNB/USDT': [ 'BNB/USDT:USDT': [
{ {
"minNotional": 0, # stake = 0.0 "minNotional": 0, # stake = 0.0
"maxNotional": 10000, # max_stake = 133.33333333333334 "maxNotional": 10000, # max_stake = 133.33333333333334
@ -3401,7 +3401,7 @@ def leverage_tiers():
"maintAmt": 6233035.0 "maintAmt": 6233035.0
}, },
], ],
'BTC/USDT': [ 'BTC/USDT:USDT': [
{ {
"minNotional": 0, # stake = 0.0 "minNotional": 0, # stake = 0.0
"maxNotional": 50000, # max_stake = 400.0 "maxNotional": 50000, # max_stake = 400.0
@ -3473,7 +3473,7 @@ def leverage_tiers():
"maintAmt": 1.997038E8 "maintAmt": 1.997038E8
}, },
], ],
"ZEC/USDT": [ "ZEC/USDT:USDT": [
{ {
'minNotional': 0, 'minNotional': 0,
'maxNotional': 50000, 'maxNotional': 50000,