---
title: "Deploy green-vast"
description: "Kalshi auto-trader with dashboard. Use your own API keys."
category: "Bots"
url: https://railway.com/deploy/green-vast
---

# Deploy green-vast

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

**[Deploy green-vast on Railway](https://railway.com/template/green-vast)**

- **Creator:** universallaw91's Projects
- **Category:** Bots

## Template content

### kalshi-trading-bot

- **Source:** universalLaw91/kalshi-trading-bot

## Documentation

# 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](https://kalshi.com/account/profile)
- Railway public networking enabled (generate domain)
- Healthcheck path: `/api/status`

## Required Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `KALSHI_API_KEY_ID` | Yes | Your Kalshi API key ID |
| `KALSHI_PRIVATE_KEY` | Yes | Full PEM private key (one line with `\n` for line breaks) |
| `KALSHI_DASHBOARD_PASSWORD` | Yes | Password to protect dashboard (login: `admin`) |
| `KALSHI_ENVIRONMENT` | Yes | `production` or `demo` |
| `KALSHI_DRY_RUN` | Yes | `true` recommended to start safe |
| `KALSHI_BOT_ENABLED` | Yes | `false` until tested |

## Disclaimer

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

## Similar templates

- [Telegram JavaScript Bot](https://railway.com/deploy/5lRkWa) — A template for Telegram bot in JavaScript using grammY
- [Cobalt Tools [Updated Aug ’26]](https://railway.com/deploy/cobalt) — Cobalt Tools [Aug ’26] (Media Downloader, Converter & Automation) Self Host
- [Telegram Gateway](https://railway.com/deploy/railway-telegram-gateway) — Multi-bot Telegram webhook gateway with real-time WebSocket event streaming

Open this page in a browser: https://railway.com/deploy/green-vast
