Skip to content

AlexnBray/imc_prosperity04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

123 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Quick Setup

  1. Install uv if you haven't already:

    curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Clone and sync dependencies:

    git clone <repository>
    cd <project>
    uv sync
  3. Activate the virtual environment:

    # macOS/Linux
    source .venv/bin/activate
    
    # Windows
    .venv\Scripts\activate

That's it—uv sync creates the venv automatically and installs all dependencies from pyproject.toml and uv.lock.

Fix your system path Alex: C:\Users\alexn\AppData\Local\Python\pythoncore-3.14-64\Scripts\uv.exe sync

Project structure

  • algorithms.py — sample strategy library and utilities.
  • stat_utils.py — statistics helpers used by analyzers.
  • backtests/ — stores log files from the official IMC backtester and logs from prosperity4btest.
  • montecarlo_backtester/ — modular Monte Carlo backtesting framework for Prosperity 4.
  • rounds — stores all code and data for each round
    • 0-tutorial — example for how all future rounds should be setup
      • data — contains Prosperity 4 data packages
      • traders — has python scripts for backtesting and submission
      • explore.ipynb — jupiter notebook to call helper functions from stats and algorithms to visualise and manipulate data for that round

Built-in backtesters and visualisers

  1. log_visualiser

  2. montecarlo_backtester/imc-prosperity-4

Monte Carlo quick start (Rust + npm)

  1. Install Rust toolchain (Cargo):

  2. Install Node/npm:

    • Windows: winget install --id OpenJS.NodeJS or https://nodejs.org/
    • macOS/Linux: brew install node or package manager of choice
  3. Run the Monte Carlo runner with a trader sample:

    prosperity4mcbt example_trader.py --quick --vis --out /tmp/mc_run/dashboard.json
  4. Read through backtester README for more info

About

Unorganised collection of traders and data science files for IMC prosperity 04 competition

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors