Open m1dnightc0der opened 1 year ago
here is an example with the code fix.
The 0.11647@16538.57 is a buy in the binanace UI and now also a buy via the xchange streaming lib
using this
public static OrderType convertType(boolean isBuyer) {
return isBuyer ? OrderType.ASK : OrderType.BID;
}```
org.knowm.xchange.binance.BinanceAdapters
has the following method, that sets weather the trade is a buy or sell.Looking at the order flow, when the
buyerMarketMaker=true
means that buyer was the maker/seller was the taker, so we want to show this as a sell order as per other markets seems we do the reverse.Ho