piker/tests/providers
Gud Boi 06b12d6738 Reproduce Kraken private order-control failures
A chart with both private subscriptions active exercises the
happy path. Reproduce stale sessions and interleaved orders offline
so the provider fixes have a repeatable target.

Tests cover,
- Open the trade dialog with valid, missing and malformed account
  settings. Send orders for the configured alias and a foreign one.
- Script replies for `ownTrades` and `openOrders`. Check renewal,
  missing acks, repeated rejection and the token on the next order.
  Count submissions to catch a replay.
- Keep two pairs active. Edit and cancel A, ack B first, then
  repeat A's open update. Check the pair on an acknowledged edit
  and require one cancel addressed to A's Kraken txid.

On the replay at `cc9f827f`, 7 cases pass and 13 reproduce bugs.
The suite uses synthetic tokens and in-process EMS and WS peers.

(this patch was generated in some part by `Codex` using
`GPT-6` (`OpenAI`))
2026-12-01 17:55:49 -05:00
..
__init__.py Fix IB idle timer arithmetic for packet nanoseconds 2026-11-13 17:17:58 -05:00
test_history_reservations.py Use IB schedules to reserve missing SHM history 2026-11-13 17:30:24 -05:00
test_ib_schedule.py Fix IB expiry dates and session timezone fallback 2026-11-29 19:58:43 -05:00
test_ib_wrapper_timeout.py Fix IB idle timer arithmetic for packet nanoseconds 2026-11-13 17:17:58 -05:00
test_kraken_order_control.py Reproduce Kraken private order-control failures 2026-12-01 17:55:49 -05:00