The repository was split out of nqbook as the place for host-side tools, and
took its first two.
feed_sim.py— publishes a repeated virtual order framed exactly asnqbook'sRunFeedexpects (tag byte plusnlib::orderhost layout), so the service can be run end to end without a real feed. The layout is hand-written and unchecked: a field added tonlib::ordermust be mirrored here or every frame is silently dropped as the wrong size.md/kraken— reads Kraken's authenticated spotlevel3websocket feed and discards it, to measure the feed's shape and rate. It builds its own popularity ranking fromAssetPairsandTicker(Kraken publishes none), shards symbols across connections at Kraken's 200-per-connection cap, spends at most half the subscribe rate budget per second, and reconnects with capped backoff when a connection errors or goes quiet for 20 seconds.- Credentials stay outside the repository — environment variables, or a
mode-600 file under
~/.config.
Comments
Sign in to join the discussion.
No comments yet. Be the first.