mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-26 07:44:05 +00:00
ruvector-kalshi:
- ws_client: tokio-tungstenite + futures-util. connect() signs upgrade
with RSA-PSS-SHA256; subscribe() sends a typed command; pump_frames()
routes every text frame through FeedDecoder into an mpsc<MarketEvent>
channel; reconnect_forever() does exponential backoff up to 30s.
- brain: pi.ruv.io client. SharedMemory::market_resolution builds a
redacted pattern memory; BrainClient::share POSTs with Bearer auth to
/v1/memories. Debug never leaks key material.
- URL migration: Kalshi moved from trading-api.kalshi.com to
api.elections.kalshi.com; defaults updated. GCS secret bumped.
- tests/live_smoke.rs: #[ignore]-gated GET /exchange/status. Verified
live response: 200 OK, {"exchange_active":true,"trading_active":true}.
neural-trader-strategies:
- coherence_arb: pair-wise price divergence arbitrage. Configure
(reference, mirror) symbol ids; emit YES buy on mirror when the price
gap exceeds min_divergence_bps. Quarter-Kelly sizing.
- attention_scalper: multi-level order-book imbalance with geometric
level decay and EMA smoothing; emits a short YES or NO position when
the smoothed signal crosses abs_threshold. Deterministic, no ML dep.
CI:
- .github/workflows/kalshi-nightly.yml: unit tests, offline validator,
paper-trade example, and live /exchange/status smoke under --ignored.
Tests: 57 unit (ruvector-kalshi 36, neural-trader-strategies 21) + 1
live smoke. All green against the real Kalshi endpoint.
Co-Authored-By: claude-flow <ruv@ruv.net>
|
||
|---|---|---|
| .. | ||
| live_smoke.rs | ||