This repository has been archived on 2026-11-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
pascal 1a5bbcd602 feat!: a generic core, and Kalshi through it
The orchestrator, the connection loop and the book thread's shell move to
src/core/, generic over an Exchange and its loss rule (ADR 0004).
Polymarket runs through it unchanged. Kalshi joins: a signed handshake
(KALSHI_KEY_ID_FILE, KALSHI_PRIVATE_KEY_FILE), a reconnect on a skipped
sequence number, first one wins by clock and rank, and its market listing
with markets tracked from three hours before they open.

Breaking: the exchange is now the first argument,
`engineering-challenge <polymarket|kalshi|kalshi-demo> [OUTPUT]`.
2026-11-11 20:54:17 +00:00

26 lines
770 B
JSON

{
"markets": [
{
"ticker": "KXFIBAECUPSPREAD-26NOV111230SZOZIG-SZO23",
"status": "determined",
"created_time": "2026-11-11T13:04:40.111474Z",
"open_time": "2026-11-11T13:06:00Z",
"close_time": "2026-11-11T19:12:27Z"
},
{
"ticker": "KXFIBAECUPSPREAD-26NOV111230SZOZIG-SZO19",
"status": "determined",
"created_time": "2026-11-11T13:04:40.111474Z",
"open_time": "2026-11-11T13:06:00Z",
"close_time": "2026-11-11T19:12:27Z"
},
{
"ticker": "KXFIBAECUPSPREAD-26NOV111230SZOZIG-SZO15",
"status": "determined",
"created_time": "2026-11-11T13:04:40.111474Z",
"open_time": "2026-11-11T13:06:00Z",
"close_time": "2026-11-11T19:12:27Z"
}
],
"cursor": "CgYIm_zS1wYSKEtYRklCQUVDVVBTUFJFQUQtMjZOT1YxMTEyMzBTWk9aSUctU1pPMTU"
}