aboutsummaryrefslogtreecommitdiffstats
path: root/lib/openjfx/ucrtbase.dll
diff options
context:
space:
mode:
authorKostya <mail@sartin.in>2026-09-06 12:22:58 +0300
committerKostya <mail@sartin.in>2026-09-06 12:22:58 +0300
commit5bc7c4ed9d052668af66d3116a6b7afbe62c6eec (patch)
tree5a59cf98d0a01f93ef60d3b356c389445089c952 /lib/openjfx/ucrtbase.dll
parent508898f52c16cc737bc7d08b8ee4c29fab8d1146 (diff)
downloadguess-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/ucrtbase.dll')
0 files changed, 0 insertions, 0 deletions