Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Kalshi MM Bot

Small Kalshi market-making workbench for viewing orderbooks, recording/replaying markets, backtesting, and running live tests.

Setup

Requires Python 3.14+ and a .env file in the project root:

KALSHI_API_KEY_ID=your-key-id
KALSHI_PRIVATE_KEY_PATH=secrets/Kalshi Private API Key.pem

Install dependencies if needed:

python -m pip install -e .

Run

Open the GUI workbench:

.\venv\Scripts\python.exe scripts\orderbook_viewer.py

The workbench is the main entry point. It includes live orderbook viewing, recording, replay/backtesting, optimization, and live trading.

Anecdotal Live Results

Four 10-minute live snippets were run inside 15-minute markets, stopping roughly five minutes before close.

Strategy Run Deltas Total
Adaptive +0ドル.60, +0ドル.24, +0ドル.12, -0ドル.45 +0ドル.51
Dumb baseline -0ドル.75, -0ドル.40, -0ドル.25, -0ドル.22 -1ドル.62

The adaptive strategy outperformed the dumb baseline by a wide margin in this small sample. These are dollar deltas, not percentage returns, because current settings do not use the full account balance and scaling is unproven.

Live execution can lose money. Keep order sizes small, stop before close while testing, and verify no bot-prefixed orders remain resting after shutdown.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /