How do I get the recent trades?

I am using python binance , if I want to manually buy some asset and then let my bot sell it for me when the conditions of the algorithm meet, how would my bot know that any such trade(buy)/order has been placed?

We don’t have official binance libraries for spot trading apis, although you can use websocket to follow the orders status: https://binance-docs.github.io/apidocs/spot/en/#payload-order-update

1 Like