Skip to content

Commit a001cb5

Browse files
committed
check4
1 parent 69752c1 commit a001cb5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

exchange/src/wrapper/runtime/runtime.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ Runtime::process_message(tick_update&& tick_update)
2222

2323
if (m.buyer_id == trader_id_) [[unlikely]] {
2424
fire_on_account_update(
25-
p.ticker, p.side, p.price, p.quantity, m.buyer_capital
25+
p.ticker, Side::buy, p.price, p.quantity, m.buyer_capital
2626
);
2727
}
2828
if (m.seller_id == trader_id_) [[unlikely]] {
2929
fire_on_account_update(
30-
p.ticker, p.side, p.price, p.quantity, m.seller_capital
30+
p.ticker, Side::sell, p.price, p.quantity, m.seller_capital
3131
);
3232
}
3333
});

0 commit comments

Comments
 (0)