binance.fill_leverage_brackets remove excess bracket
This commit is contained in:
parent
e4b37c6462
commit
caff7e227f
@ -155,9 +155,8 @@ class Binance(Exchange):
|
||||
brackets = []
|
||||
for [notional_floor, mm_ratio] in brkts:
|
||||
amt = (
|
||||
(
|
||||
(float(notional_floor) * (float(mm_ratio) - float(old_ratio)))
|
||||
) + amt
|
||||
+ amt
|
||||
) if old_ratio else 0.0
|
||||
old_ratio = mm_ratio
|
||||
brackets.append([
|
||||
|
Loading…
Reference in New Issue
Block a user