MetaGame Trading Bootcamp Python Client
Project description
Trading Bootcamp Python Client
Write your trading bot with Python!
Setup
- Make sure you have Python 3.8 or higher installed.
- Use git to clone this repository and navigate to the client-py directory.
- Install the required packages with
pip install -r requirements.txt. - Make a copy of example.env and rename it to .env. Then set the environment variables:
- JWT and ID_JWT: log in to the website, open the dev console, and search for the "auth" info log.
- ACT_AS: You can leave this empty if you want to act as yourself, but otherwise you'll need to act as the bot in the website and look in the dev console for the actingAs log. You'll then copy the id from that log.
- Now run either naive_bot.py or market_maker_bot.py. Both are self-contained examples. The naive bot is a simple starting point, while the market maker bot shows more complex functionality.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
metagame-0.1.0.tar.gz
(41.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metagame-0.1.0.tar.gz.
File metadata
- Download URL: metagame-0.1.0.tar.gz
- Upload date:
- Size: 41.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0da092b147f9d99728479b6f22b19ad2435ec4eca4d5ec91900cbc2f9fe5262d
|
|
| MD5 |
15c48d61368b72bac1d9c2936d70631e
|
|
| BLAKE2b-256 |
ba1ee8fc75aab52e9893e786fd29afdb5be7527eb602da40726e0c18c279809f
|
File details
Details for the file metagame-0.1.0-py3-none-any.whl.
File metadata
- Download URL: metagame-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b0495f7d8b68a76d71f1da00254627c398c8666c7234f39766f96b4e093a3fc
|
|
| MD5 |
a24b0d87dd948197372c37c6fe212187
|
|
| BLAKE2b-256 |
a84deea69cfb64803dfe4b07ef9abf38836cedb1a295e27a1155cd2df98ba4fc
|