Archived
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]`.
26 lines
764 B
JSON
26 lines
764 B
JSON
{
|
|
"markets": [
|
|
{
|
|
"ticker": "KXEUROCUPTOTAL-26NOV121400MAXSKY-179",
|
|
"status": "initialized",
|
|
"created_time": "2026-11-11T19:14:08.970811Z",
|
|
"open_time": "2026-11-11T19:19:08Z",
|
|
"close_time": "2026-11-14T19:00:00Z"
|
|
},
|
|
{
|
|
"ticker": "KXEUROCUPTOTAL-26NOV121400MAXSKY-171",
|
|
"status": "initialized",
|
|
"created_time": "2026-11-11T19:14:08.970811Z",
|
|
"open_time": "2026-11-11T19:19:08Z",
|
|
"close_time": "2026-11-14T19:00:00Z"
|
|
},
|
|
{
|
|
"ticker": "KXEUROCUPTOTAL-26NOV121400MAXSKY-163",
|
|
"status": "initialized",
|
|
"created_time": "2026-11-11T19:14:08.970811Z",
|
|
"open_time": "2026-11-11T19:19:08Z",
|
|
"close_time": "2026-11-14T19:00:00Z"
|
|
}
|
|
],
|
|
"cursor": "CgwIgP3S1wYQ-Mz1zgMSJEtYRVVST0NVUFRPVEFMLTI2Tk9WMTIxNDAwTUFYU0tZLTE2Mw"
|
|
} |