Railway

Deploy green-vast

Kalshi auto-trader with dashboard. Use your own API keys.

Deploy green-vast

Just deployed

Deploy and Host Kalshi Trading Bot with Railway

Kalshi Trading Bot is an automated market scanner and trader with a web dashboard. Connect your own Kalshi API keys, scan prediction markets for positive-EV opportunities, and trade with configurable risk limits.

About Hosting Kalshi Trading Bot

You deploy one Railway service from this repository. Railway builds the Docker image, runs the FastAPI app, and serves the dashboard over HTTPS. Each user supplies their own Kalshi API credentials — you never share keys between accounts. The bot starts in dry-run mode by default for safe testing.

Why Deploy Kalshi Trading Bot on Railway?

Railway keeps your bot running 24/7 without leaving your PC on. You get automatic restarts, a public HTTPS URL, and environment variable management for API keys — no manual server setup required.

Common Use Cases

  • Automate short-term Kalshi trades with strict daily spend caps
  • Scan markets every 60 seconds for positive expected-value favorites
  • Monitor balance, trades, and P&L from a web dashboard
  • Run in dry-run mode before switching to live trading

Dependencies for Kalshi Trading Bot Hosting

  • Python 3.12 app (FastAPI + Uvicorn)
  • Kalshi API credentials (API Key ID + private key PEM)
  • Dockerfile in this repository

Deployment Dependencies

  • GitHub repository: https://github.com/universalLaw91/kalshi-trading-bot
  • Kalshi API keys
  • Railway public networking enabled (generate domain)
  • Healthcheck path: /api/status

Required Variables

VariableRequiredDescription
KALSHI_API_KEY_IDYesYour Kalshi API key ID
KALSHI_PRIVATE_KEYYesFull PEM private key (one line with \n for line breaks)
KALSHI_DASHBOARD_PASSWORDYesPassword to protect dashboard (login: admin)
KALSHI_ENVIRONMENTYesproduction or demo
KALSHI_DRY_RUNYestrue recommended to start safe
KALSHI_BOT_ENABLEDYesfalse until tested

Disclaimer

Not financial advice. Prediction market trading involves risk of total loss. Trade at your own risk.


Template Content

More templates in this category

View Template
Telegram JavaScript Bot
A template for Telegram bot in JavaScript using grammY

Agampreet Singh
295
View Template
Cobalt Tools [Updated Jul ’26]
Cobalt Tools [Jul ’26] (Media Downloader, Converter & Automation) Self Host

shinyduo
235
View Template
Telegram Gateway
Multi-bot Telegram webhook gateway with real-time WebSocket event streaming

INAPP
4