Merge branch 'develop' into feat_readjust_entry

This commit is contained in:
eSeR1805
2022-04-18 21:22:19 +03:00
9 changed files with 4412 additions and 4412 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -2137,8 +2137,8 @@ class Exchange:
def parse_leverage_tier(self, tier) -> Dict:
info = tier.get('info', {})
return {
'min': tier['notionalFloor'],
'max': tier['notionalCap'],
'min': tier['minNotional'],
'max': tier['maxNotional'],
'mmr': tier['maintenanceMarginRate'],
'lev': tier['maxLeverage'],
'maintAmt': float(info['cum']) if 'cum' in info else None,