how can i identify if a trade is buy or sell from trades data given by binance, Thanks in advance
In simple terms, a trade happens when there’s a match between a buy and a sell order, so a trade can’t be a buy or sell, since it’s the the result of the matched price and quantity.
What you might be looking for is “filled orders”, which you can obtain by looking for status FILLED from https://binance-docs.github.io/apidocs/spot/en/#all-orders-user_data
i am talking about the public data given by binance, at https://github.com/binance/binance-public-data. Also che check the image, how can i identify from this data that a trade is buy or sell trade. Regards