mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-20 15:24:21 +01:00
websocket: convert notfication to notification object
This commit is contained in:
@@ -126,7 +126,7 @@ class OrderManager:
|
|||||||
"amount": str(amount),
|
"amount": str(amount),
|
||||||
"price": str(price),
|
"price": str(price),
|
||||||
}
|
}
|
||||||
# caclulate and add flags
|
# calculate and add flags
|
||||||
flags = calculate_order_flags(hidden, close, reduce_only, post_only, oco)
|
flags = calculate_order_flags(hidden, close, reduce_only, post_only, oco)
|
||||||
payload['flags'] = flags
|
payload['flags'] = flags
|
||||||
# add extra parameters
|
# add extra parameters
|
||||||
|
|||||||
Reference in New Issue
Block a user