Skip to content

v0.2.0

Choose a tag to compare

@CtrlAltDevelop CtrlAltDevelop released this 26 Nov 14:37
· 1 commit to main since this release
b8412d1

Added

  • Amend: PATCH /markets/{symbol}/orders/{order_id}?account= with a new price
    and total remaining quantity. Lowering size at the same price keeps queue
    position; any other change re-queues at the back and matches if it crosses.
    New ReplaceOrder command and order_replaced event.
  • Stop and stop-limit orders: set stop_price on a new order. It is parked
    off the book until the last trade price reaches it (buy: at or above, sell:
    at or below), then submitted in arrival order, cascading within the same
    command. New order_triggered event and pending order status; parked
    stops can be cancelled. See ADR 5.
  • ADR 5, recording the stop trigger and amend decisions.

Changed

  • WAL: replace is record kind 3 and a stop order is kind 4. Existing logs
    replay unchanged. Snapshots gain last_trade_price and stops, both
    defaulted, so existing snapshots load. The engine state hash now covers
    them, so hashes differ from 0.1.x.
  • Dependencies: the python-minor group (14 updates); Docker base image
    python 3.15-slim.