smfworks/smf-kalshi-trader — explained in plain English
Analysis updated 2026-05-18
Automatically scan Kalshi markets for mispriced or extreme-valuation contracts.
Size trades using the Kelly Criterion under tight capital limits.
Run scheduled paper or live trades with a daily intelligence report.
| smfworks/smf-kalshi-trader | 0xhassaan/nn-from-scratch | 3ks/embedoc | |
|---|---|---|---|
| Stars | 0 | 0 | — |
| Language | Python | Python | Python |
| Last pushed | — | — | 2023-06-08 |
| Maintenance | — | — | Dormant |
| Setup difficulty | — | moderate | hard |
| Complexity | — | 4/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
This repository is an automated trading system for Kalshi, a prediction markets platform where users bet on the outcome of real-world events. Written in Python, it automates the full workflow of scanning markets, detecting trading opportunities, sizing positions, and executing or simulating trades. The system is organized into focused modules: a scanner that fetches market data and records price history, an edge detector that identifies five signal types (two currently live, extreme valuation, where a market price goes above 95% or below 5%, and price inefficiency, where the combined cost to buy YES and NO exceeds $1.05, plus three in progress: momentum, mean reversion, and event correlation), and a sizing module that uses a statistical approach called the Kelly Criterion to decide how much capital to stake. A portfolio module handles both paper trades (simulated, for testing) and live trades. A daily intelligence report is generated by the reporter module. Authentication uses an RSA key-pair against the Kalshi API. The database is SQLite, acting as the single source of truth for market data and trade records. The system is designed to run on a schedule: a cron job syncs price history every four hours and runs the full scan-plus-report daily at 10am. Built-in trading rules enforce tight risk limits: $50 total capital, a maximum of $1 per trade, no more than five open positions at once, and $40 held in a dark reserve. The command-line interface supports a dry-run mode so trades can be previewed before going live.
An automated Python trading system for Kalshi prediction markets that scans, sizes, and executes trades with strict risk limits.
Mainly Python. The stack also includes Python, SQLite.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.