Trade by definition has two sides - buyer and seller, so it has to contain both buyer order id and seller order id. Most of the exchanges (including binance and nash) report this information.
There's also 'own trade' when considered in the view of interfaces like 'own trade history', in this case only one order id relevant to user is usually reported.
As openlimits now mixes up 'all trades' and 'own trades' in one data type I had to make buyer_order_id and seller_order_id optional and fill them if the information is available.
Trade by definition has two sides - buyer and seller, so it has to contain both buyer order id and seller order id. Most of the exchanges (including binance and nash) report this information.
There's also 'own trade' when considered in the view of interfaces like 'own trade history', in this case only one order id relevant to user is usually reported.
As openlimits now mixes up 'all trades' and 'own trades' in one data type I had to make buyer_order_id and seller_order_id optional and fill them if the information is available.