in modules/ethereum/tradeTransactions.jsformatTradeEvent() method
the conditions for orderId and direction are completely wrong:
event.name does not exist: event.name should be event.event, that is what contains e.g. "OrderFill"
the condition using weiAmount is nonsense in case of OrderFill: weiAmount is never zero (for OrderFill events), which means for both direction and id columns we choose "buy", regardless of the actual direction
e.orderId does not exist for OrderFill events, which leaves only the wrong weiAmount check
the type parameter of the method is correct in case of OrderFill-s (it is either "buy or "sell"), it is recommended to use that for both conditions in case of OrderFill events: if event.event is "OrderFill", then direction should be exactly what type is, and orderId should be either e.buyTokenOrderId or e.sellTokenOrderId according to type.
Note: these codes have been significantly changed since the last deploy, so the current staging and master versions are different (both are wrong, but in a different way). Above comments refer to current staging version (bafd0c3f2f2c9e39fe6ec47d2a23f55d85b330b2).
in modules/ethereum/tradeTransactions.js formatTradeEvent() method the conditions for orderId and direction are completely wrong:
Note: these codes have been significantly changed since the last deploy, so the current staging and master versions are different (both are wrong, but in a different way). Above comments refer to current staging version (bafd0c3f2f2c9e39fe6ec47d2a23f55d85b330b2).