Engine (ws_client.c/h):
- Replace cJSON with jsmn (stack tokens, zero malloc) for book updates
- Quick-route message frames ("type":"message") to jsmn, bypass cJSON
- Coalesce same-symbol updates within one SSL_read burst: evaluate once
- ws_client_process_frame returns symbol_idx for batch tracking
- Restore book->sequence field update from sequence/sequenceNum
Executor (ws_client.py):
- Fix race: fill event arriving before await_fill registers future
is now detected via FillAccumulator._done flag, resolved immediately
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| config.py | ||
| executor.py | ||
| kucoin_api.py | ||
| rest_api.py | ||
| socket_server.py | ||
| ws_client.py | ||