tedchou12 / webull

Unofficial APIs for Webull.
MIT License
597 stars 183 forks source link

How to check if Otoco order has been filled? #245

Closed Alanavai closed 2 years ago

Alanavai commented 3 years ago

I am making an otoco order that automatically sets a take-profit and a stop-loss. Is there any way to check exactly when one of these orders is filled and at what price?

tedchou12 commented 3 years ago

Sorry for the delayed reply.

shouldn't get_history_orders() do the trick?