Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- json return data
- 0778fd51fcfa/', 'average_price': None, 'quantity': '2.00000'}, {'updated_at': '2018-06-19T18:10:42.243942Z', 'ref_id': 'b899585f-9625-42b7-bfe1-8974e4e80ab9', 'time_in_force': 'gfd', 'fees': '0.00', 'cancel': None, 'response_category': 'success', 'id': '4bec2116-a38c-414a-934d-43cda9444d5b'
- xyz = my_trader.order_history()
- ParsedValue = xyz['id']
- print (xyz)
- ---- ran code python3.6 rr.py
- Traceback (most recent call last):
- File "rr.py", line 11, in <module>
- ParsedValue = xyz['id']
- KeyError: 'id'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement