Code to check order filled
I can’t seem to find any code to check when an order is filled. I’m sure there must be something written already (PHP preferred); I don’t want to reinvent the wheel.
Obviously it would be great if Binance added a function to their API. For now I’ve just been polling my balances and comparing the old to the new, but I’d prefer something a little more elegant that actually gets all my open orders and then gets each of those. When I call fetchOrders from CCXT it complains, and even if I set warnOnFetchOpenOrdersWithoutSymbol=false it doesn’t work.
Thanks
[https://github.com/jaggedsoft/php-binance-api](https://github.com/jaggedsoft/php-binance-api)
Try this library.