Git Product home page Git Product logo

imc_prosperity's Introduction

IMC Prosperity Trading Algorithm

This repository contains code developed by the team Zahcheesha for the IMC trading competition. Our algorithm secured 57th place competing against over 7000 teams (top 1%). In addition, we have developed a versatile simulator to test trading strategies without the need for official game access.

Prerequisites

To install the necessary packages, use pip with the following command:

pip install -r requirements.txt

The code has been tested with Python 3.11.0.

Running the Simulation

To execute the simulation, enter the following command in your console:

 python -m simulator.simulator_test trader <csv_filename_with_round_data> <csv_filename_with_trades_data>

Replace <csv_filename_with_round_data>, and <csv_filename_with_trades_data> with the appropriate values.

For example, to run the simulation with a sample trader, you can use the following command:

python -m simulator.simulator_test trader datasets/island-data-bottle-round-4/prices_round_4_day_1.csv datasets/island-data-bottle-round-4/trades_round_4_day_1_nn.csv 

Code Organization

The code is organized as follows:

  • trader.py: Implements the trader logic
  • datamodel.py: Defines basic data models used in trading
  • products: This directory holds the implementation of specific products
  • strategies: This directory contains implementations of strategies employed across multiple products
  • helpers: This directory houses helper functions utilized during the parameter tuning process
  • simulator: This directory comprises the code for the game simulator that allows for strategy testing without official game access

imc_prosperity's People

Contributors

michalokon avatar drobiu avatar jakubtokarz avatar filipinsocial avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.