IMC Prosperity 3 Submitter
This repository contains a command-line submitter for IMC Prosperity 3 algorithms, based on my submitter for Prosperity 2. It uploads the algorithm, monitors its progress, downloads the logs, logs the final profit / loss, and optionally opens the submission in my Prosperity 3 Visualizer, all in one command.
Usage
Basic usage:
# Install the latest version of the submitter
$ pip install -U prosperity3submit
# Submit an algorithm
$ prosperity3submit <path to algorithm file>
Run pip install -U prosperity3submit again when you want to update the submitter to the latest version.
Submitting requires your Prosperity ID token that is stored in the local storage item with the CognitoIdentityServiceProvider.<some id>.<email>.idToken key on the Prosperity website. You can inspect the local storage items of a website by having the website open in the active tab, pressing F12 to open the browser's developer tools, and going to the Application (Chrome) or Storage (Firefox) tab. From there, click on Local Storage in the sidebar and select the website that appears underneath the sidebar entry.
The submitter will prompt you for the token when it needs it. The token is then stored in your system's credentials store for convenience. ID tokens are short-lived, so you'll be prompted somewhat regularly and old tokens persisted in the credentials store do not pose much of a security risk.
By default, the submitter automatically downloads the submission's logs after simulation is done to submissions/<timestamp>.log. You can change this file using the --out <path to log file> option, or disable downloading logs altogether using the --no-logs flag.
If you use my Prosperity 3 Visualizer, the --vis flag will automatically open the submission in the visualizer after the simulation ends successfully.
Development
Follow these steps if you want to make changes to the backtester:
- Install uv.
- Clone (or fork and clone) this repository.
- Open a terminal in your clone of the repository.
- Create a venv with
uv venvand activate it. - Run
uv sync. - Any changes you make are now automatically taken into account the next time you run
prosperity3submitinside the venv.
Metadata
Release files for prosperity3submit 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prosperity3submit-0.1.1.tar.gz | 6.8 kB | With provenance | Details for prosperity3submit-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prosperity3submit-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for prosperity3submit-0.1.1-py3-none-any.whl |
Total release size: 15.2 kB
Release files / prosperity3submit-0.1.1.tar.gz
| Download URL | prosperity3submit-0.1.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7325234724bc678e2188d21f1e6e021b1d258512dc93ab5512c0edb06827ff3
|
|
BLAKE2b-256 checksum How to use checksums |
cfddd22917a81989891c70b212bd96815e4898e2912a2d7325093baf60d4e207
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2025.
Transparency logRelease files / prosperity3submit-0.1.1-py3-none-any.whl
| Download URL | prosperity3submit-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1c48f76ae37cb9043b553ae1044713b543144759fd090a53d033f682b7c9017
|
|
BLAKE2b-256 checksum How to use checksums |
d8baae2eac9d94a5c01f8f1138155e9f73cab45c2ab348264fe86d64b6402df6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2025.
Transparency logSecurity for prosperity3submit 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for prosperity3submit-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.