Settle sub-cent orders and migrate historical book prices

This commit is contained in:
2026-12-03 07:07:25 +08:00
parent 064b301ebd
commit 20ce08adf9
32 changed files with 393 additions and 138 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ impl Books {
let reflected = Order {
seq: order.seq,
remaining: order.remaining,
price: 100 - order.price,
price: crate::tick_size::PAR - order.price,
side: match order.side {
Side::Buy => Side::Sell,
Side::Sell => Side::Buy,