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!
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!