diff options
| author | Kostya <mail@sartin.in> | 2026-09-06 12:22:58 +0300 |
|---|---|---|
| committer | Kostya <mail@sartin.in> | 2026-09-06 12:22:58 +0300 |
| commit | 5bc7c4ed9d052668af66d3116a6b7afbe62c6eec (patch) | |
| tree | 5a59cf98d0a01f93ef60d3b356c389445089c952 /lib/openjfx/api-ms-win-core-heap-l1-1-0.dll | |
| parent | 508898f52c16cc737bc7d08b8ee4c29fab8d1146 (diff) | |
| download | guess-market-5bc7c4ed9d052668af66d3116a6b7afbe62c6eec.tar.gz guess-market-5bc7c4ed9d052668af66d3116a6b7afbe62c6eec.tar.xz guess-market-5bc7c4ed9d052668af66d3116a6b7afbe62c6eec.zip | |
api: extend contexts and DTOs for order books and event creation
The desktop UI needs to create events, trade on both sides of an order
book, and show who is participating in an event, none of which the api
module could express so far.
Add AccountContext for looking up ledger accounts by owner, and give
CatalogContext an openEvent operation plus createEvent, taking either a
CreateEventRequest or its fields spelled out. createEvent defaults to
a "Not implemented" error so existing implementations keep compiling
until they support it.
Let GuessMarketContext.placeOrder take an explicit side, keeping the
old signature as a default method that places a BUY so current callers
are unaffected.
Add OrderBookDTO and BookOrderDTO to describe per-option books with
best bid, best ask and spread, and ParticipantDTO for a user's
position, fees and P&L in an event. Carry the order books and
participants on EventDetailDTO and the market maker's name on
EventSummaryDTO.
Diffstat (limited to 'lib/openjfx/api-ms-win-core-heap-l1-1-0.dll')
0 files changed, 0 insertions, 0 deletions