Closed eyesuk closed 4 years ago
It is just a section to parse out data based on whether you would like verbose data or not. I'm assuming that either in the past results['quotes'] sent back a lot of irrelevant information, or perhaps in your case it just isn't functioning properly.
Either way, you can just delete the entire if statement from your wrapper and it should function. If you arent using verbose responses then you wont be missing anything.
Thank you man!
Hello Everyone, I am running into an error when submitting an order. The order is placed successfully however, I receive the error below:
2020-04-26 15:08:02 Traceback (most recent call last): File "text-script", line 25, in <module> print(fill_order(order)) File "text-script", line 19, in fill_order preview=False File "~/ally/api_calls.py", line 357, in submit_order del results['quotes'] KeyError: 'quotes'
The error references this part of the api_calls.py, but I am unable to decipher the purpose of these lines.
Hope everyone is safe and healthy ππΎππΎ