IMC Prosperity 2 Submitter
This repository contains a command-line submitter for IMC Prosperity 2 algorithms. It uploads the algorithm, monitors its progress, downloads the logs, logs the final profit / loss, and opens the submission in my IMC Prosperity 2 Visualizer (optional), all in one command.
Usage
Basic usage:
# Install the latest version of the submitter
$ pip install -U prosperity2submit
# Submit an algorithm
$ prosperity2submit <path to algorithm file>
Run pip install -U prosperity2submit 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 IMC Prosperity 2 Visualizer, the --vis flag will automatically open the submission in the visualizer after the simulation ends successfully.
Development
If you want to make changes to the submitter, clone (or fork and clone) this repository and run pip install -e . in the project's root. This installs the project in editable mode, so any changes you make are automatically taken into account the next time you run prosperity2submit.
Metadata
Release files for prosperity2submit 0.2.8
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 |
|---|---|---|---|---|
| prosperity2submit-0.2.8.tar.gz | 6.5 kB | Without provenance | Details for prosperity2submit-0.2.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prosperity2submit-0.2.8-py3-none-any.whl | Python 3 | none | any | Details for prosperity2submit-0.2.8-py3-none-any.whl |
Total release size: 14.5 kB
Release files / prosperity2submit-0.2.8.tar.gz
| Download URL | prosperity2submit-0.2.8.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94ef6a08c5f0ef563d7ebd0494f8e0ae161e81436132f2daec6f4611fec67275
|
|
BLAKE2b-256 checksum How to use checksums |
fd0737ae8901b0970146b773be84fcf84c0dbbbf06e331d39df97bc7b12faada
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / prosperity2submit-0.2.8-py3-none-any.whl
| Download URL | prosperity2submit-0.2.8-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ef839c61e4980ceac33f212d56136bc2d180dfaf0545af5211d183900ccb1f2
|
|
BLAKE2b-256 checksum How to use checksums |
159a42ba3a0e4576fc271706b90223b745835be0e98d42aa16946d50e8a997d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for prosperity2submit 0.2.8
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.