in the coinbase.ts onMessage() the current check for sell/buy looks not correct:
side: json.side === 'buy' ? 'sell' : 'buy'
should change to:
side: json.side === 'buy' ? 'buy' : 'sell'
right?
Unlike their competitors, Coinbase reports "matches" : limit orders filled by market order and in that object json the side is the maker.
Aggr feed shows the takers (market orders).
in the coinbase.ts onMessage() the current check for sell/buy looks not correct:
side: json.side === 'buy' ? 'sell' : 'buy'
should change to:side: json.side === 'buy' ? 'buy' : 'sell'
right?