websocket: convert notfication to notification object

This commit is contained in:
Jacob Plaster
2019-09-12 14:20:22 +01:00
parent 45696f5598
commit 25151f5011

View File

@@ -126,7 +126,7 @@ class OrderManager:
"amount": str(amount),
"price": str(price),
}
# caclulate and add flags
# calculate and add flags
flags = calculate_order_flags(hidden, close, reduce_only, post_only, oco)
payload['flags'] = flags
# add extra parameters