danpaquin / coinbasepro-python

The unofficial Python client for the Coinbase Pro API
MIT License
1.82k stars 732 forks source link

Issue detecting orders #444

Open HipsterJesus115 opened 3 years ago

HipsterJesus115 commented 3 years ago

I was wondering if anyone knew how to set it up so it can detect if there are any existing orders. The way I have it for some reason never returns the orders completely empty. But basically I am just trying to have it do something like this

if no open orders run code else: run code

Just a fyi I am a little knew to python so it could just be that i missed something simple. Thanks in advance!