diff --git a/examples/orders.py b/examples/orders.py index bcff702..97a4552 100644 --- a/examples/orders.py +++ b/examples/orders.py @@ -33,7 +33,7 @@ # Get our position ID. account_response = client.private.get_account() -position_id = account_response['account']['positionId'] +position_id = account_response.data['account']['positionId'] # Post an bid at a price that is unlikely to match. order_params = {