Project

The House of Arcana

Automated trading platform on Kalshi

A research platform where every trading idea enters as a falsifiable claim and leaves as evidence: a scored forecast and a backtested trade with real fees and fills, tuned on a training period and judged on a validation period it never saw.

A demo backtest on synthetic market data. It walks from the dashboard to the winning candidate on the research loop, then replays its backtest on DEMO-MARKET, so you can watch every trade as it happens.

This is NOT a product I am selling. I don't have to! I can scale this to millions of revenue without any funding as I can run this allllll locally on my hardare. If VC acquires me, then we will turn this into a real product.

01 / 07

Observe

An agent measures market behavior on Training markets only, before any claim is made.

hy analysis metric
Arcana's market-analysis report: the orderFlowValue metric read on DEMO-MARKET, the one settled Training market, every 5 seconds, beside its protocol, Training cut and price source.
One Training market, DEMO-MARKET, 58 ready readings. DEMO-MARKET-2, held out for validation, is never read here.
Arcana's research-loop graph for Order-flow persistence: the forecast lineage and its tuning cycle, the winning trading candidate with its paper session leading into its live session, and its validated Training and out-of-sample split.
Arcana's own record of this loop.
  1. Observe

    An agent measures market behavior on Training markets only, before any claim is made.

    hy analysis metric
    Arcana's market-analysis report: the orderFlowValue metric read on DEMO-MARKET, the one settled Training market, every 5 seconds, beside its protocol, Training cut and price source.
    One Training market, DEMO-MARKET, 58 ready readings. DEMO-MARKET-2, held out for validation, is never read here.
  2. Claim

    State a falsifiable hypothesis: the thesis, the behavior it predicts, and why.

    Arcana's Research dashboard: the Order-flow persistence card marked "The claim", its thesis and predicted behavior, beside the Liquidity absorption card.
  3. Forecast & tune

    Replay market evidence, score every forecast against what the market did, and tune candidates.

    hy experiment run
    Arcana's research-loop graph: the Order-flow persistence forecast lineage marked "Tuned lineage", 3 candidates and 7 runs; just below it the two tuned children's activated MAE of 0.05873 to 0.06896, above the baseline marked Candidate winner at 0.05516.
    The baseline responds 0.15 to flow, enough for a predicted move to cover fees. Two tuned children, responding 0.20 and 0.30, score worse: activated MAE 0.05873–0.06896 against $0.05516 per YES contract.
  4. Validate forecast

    Freeze the winning forecast and score it once on a held-out period.

    hy experiment split run
    Arcana's Verdict panel, its forecast verdict marked: the Order-flow persistence forecast's Training activated MAE of $0.05516 per YES contract on DEMO-MARKET beside its out-of-sample validation MAE of $0.05516 on DEMO-MARKET-2, above the split timeline.
    Training on DEMO-MARKET $0.05516, held out on DEMO-MARKET-2 $0.05516 activated MAE per YES contract: the error did not grow on the market it never saw. DEMO-MARKET-2 mirrors DEMO-MARKET, so the two errors match.
  5. Backtest

    Trade on the forecasts with fees, fills and capital limits simulated; rank sibling candidates, then validate the winner on the held-out period.

    hy trading backtest split run
    Arcana's research-loop graph: the trading candidate's Training and out-of-sample backtests marked "Held-out split", validated at +0.84% then +0.93% net return, the held-out backtest +$9.25.
    After Kalshi's taker fees: whole span +1.82% ($18.22) over 19 trades on both markets, 13 won. Split: Training on DEMO-MARKET +0.84%, held out on DEMO-MARKET-2 +0.93%. Synthetic demo markets.
  6. Paper

    Trade the live market forward with simulated fills.

    hy trading paper run
    The validated candidate on DEMO-MARKET-FORWARD, a live market following DEMO-MARKET's pattern, paying the same fees. Made $5.71 (+0.57%): 3 entry orders, 2 filled and both won, 1 never filled. Replay matched its timed backtest, and with zero lag the same decisions would have made the same.
  7. Live

    Send real orders to Kalshi's demo exchange (fake money), then replay the session and reconcile it with the account.

    hy trading live run
    The same candidate, then live on the same market: 7 decisions, 1 entry order, filled at the top of a rise and sold up to a cent lower, so −$1.22 (−0.12%) after fees. Replay reproduced every record and the wallet matched the exchange account. A fake exchange stands in for Kalshi demo here.

The Loop is 100% ran by agents!

hypothesis-research skill automates finding hypothesis
agent-live-operator skill deploys them and handles deployment lifecycle
agent-ingestion-operator skill handles Kalshi websocket ingestion

I am not there yet, but the goal is to make this 100% autonomous. Still, I don't run the product. I have the agents go thru every workflow. With real money at stake, I have to trust every part of the system before I make this 100% autonomous. The UI is just for humans like you and I to be aligned. The agents use the CLI. Seriously tho, I started using the UI as a verification method against every scenario when forecasts were made. It is much easier than reading tests.

There is an eval loop written for hypothesis-research:

  • It proposes new architecture: like forecasting methods, forecast scoring
  • It finds and discovers new hypothesis, and loops over the same strategy in order to optimize speed

Eventually when the eval loop goes thru enough iterations, i'll gain enough confidence to start handing off verification to an agent.