Prediction market trading, automated

An open-source bot for Kalshi. Multiple AI models analyze every market independently and reach consensus. Add your signals to the collective and get the crowd's read back.

$ git clone https://github.com/ktraderdev/ktrader
$ cp .env.template .env
$ docker-compose up
How it works

Multi-model consensus

Local and cloud LLMs debate each market. A third model arbitrates.

Data enrichment

Polymarket, PredictIt, weather, sports odds, economic data. Context beyond the price.

Calibration feedback

Predictions scored against outcomes. Historical accuracy corrects future bias.

Dry-run default

Paper-trade first. Full journal. Real money only when you're ready.


How ktrader is different

Not a wrapper around one model

Most bots send a market title to GPT and trade the response. ktrader runs local and cloud models in parallel, scores them against each other, and arbitrates disagreements.

Kalshi-native

Nearly every open-source trading bot targets Polymarket. Kalshi is CFTC-regulated, USD-settled, and underserved. ktrader is built for it.

Collective intelligence, not copy trading

Copy trading mirrors one wallet. The collective aggregates anonymized predictions from independent bots. No single point of failure. No whale dependence.

Self-hosted and transparent

No token launch. No wallet connect. No subscription. Your keys stay on your machine. The code is the product.

Learns from its mistakes

Calibration feedback loops historical accuracy back into future prompts. The bot gets better with data, not just parameter tuning.

Full stack, not a framework

Ships a working bot, live dashboard, trade journal, sports arbitrage scanner, and tuning controls. Clone, configure, run.

Landscape
ToolTypeMarketsMulti-model AICollectiveOpen sourcePrice
PredictEngineStrategy builderPolymarketNoCopy tradingNo$49/mo+
SpeculaCopy tradingPolymarketNoWhale mirroringNoSubscription
Bot for KalshiStrategy builderKalshiNoNoNoUnknown
ArbBetsArb scannerPoly + KalshiNoNoNo$59-299/mo
Polymarket AgentsFrameworkPolymarketSingle LLMNoYesFree
OpenClawAgent frameworkPolymarketSingle LLMNoYesFree + API
OlasAutonomous agentPolymarketNoNoYesFree
ktraderFull stackKalshiMulti-model consensusCrowd intelligenceYesFree

Based on publicly available information as of April 2026.


The Collective

Each ktrader instance runs independently. The collective pools their predictions anonymously. Members get back the crowd signal -- average probability, consensus direction, confidence spread -- without exposing identity or P&L.

--
members
200
cap
--
spots open
Signal flow
  1. Your bot analyzes a market and picks a side.
  2. It sends an anonymized signal: probability, direction, confidence.
  3. The server aggregates and returns the crowd view.
  4. Your bot factors crowd data into its next decision.
Privacy
Shared
Probability, side, confidence, model source, market category
Never
Account identity, position size, P&L, portfolio, API credentials

Your identity is a hash of the key you choose below. No Kalshi credentials ever leave your machine.

Join the collective

Choose a secret key for authentication. This is your only credential. Keep it safe and add it to your .env.