mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
Edit demos in examples/ folder to use lowercase property identifiers.
This commit is contained in:
@@ -25,7 +25,7 @@ print("Submit Order Notification:", submitted_order)
|
||||
|
||||
# Update it
|
||||
updated_order = bfx.rest.auth.update_order(
|
||||
id=submitted_order.NOTIFY_INFO.ID,
|
||||
id=submitted_order.notify_info.id,
|
||||
amount="0.020",
|
||||
price="10100"
|
||||
)
|
||||
@@ -33,6 +33,6 @@ updated_order = bfx.rest.auth.update_order(
|
||||
print("Update Order Notification:", updated_order)
|
||||
|
||||
# Delete it
|
||||
canceled_order = bfx.rest.auth.cancel_order(id=submitted_order.NOTIFY_INFO.ID)
|
||||
canceled_order = bfx.rest.auth.cancel_order(id=submitted_order.notify_info.id)
|
||||
|
||||
print("Cancel Order Notification:", canceled_order)
|
||||
|
||||
Reference in New Issue
Block a user