switch notionalFloor -> minNotional and notionalCap -> maxNotional

This commit is contained in:
Sam Germain
2022-04-16 21:47:44 -06:00
parent 4019c05fee
commit 591a2fb7fc
6 changed files with 4404 additions and 4404 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,