Edit demos in examples/ folder to use lowercase property identifiers.

This commit is contained in:
Davide Casale
2023-01-27 15:57:36 +01:00
parent d767e5dcfe
commit 6e96cda584
10 changed files with 20 additions and 21 deletions

View File

@@ -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)