Skip to content

Commit

Permalink
check4
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenewald committed Oct 29, 2024
1 parent 69752c1 commit a001cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exchange/src/wrapper/runtime/runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ Runtime::process_message(tick_update&& tick_update)

if (m.buyer_id == trader_id_) [[unlikely]] {
fire_on_account_update(
p.ticker, p.side, p.price, p.quantity, m.buyer_capital
p.ticker, Side::buy, p.price, p.quantity, m.buyer_capital
);
}
if (m.seller_id == trader_id_) [[unlikely]] {
fire_on_account_update(
p.ticker, p.side, p.price, p.quantity, m.seller_capital
p.ticker, Side::sell, p.price, p.quantity, m.seller_capital
);
}
});
Expand Down

0 comments on commit a001cb5

Please sign in to comment.