CLI tool for submitting Bitcoin volatility prediction models to CrunchDAO competitions
Project description
btcvol-cli - Model Submission Tool
Command-line tool for submitting models to the BTC Volatility Competition.
Purpose
This CLI tool is for submitting models to your local competition infrastructure. It automates:
- Model validation
- Conversion of Jupyter notebooks to Python
- Creation of submission structure
- Deployment to the model orchestrator
Installation
pip install git+https://github.com/jberros/btcvol-cli.git
Usage
Submit a Python file
btcvol-submit my_model.py --name my-volatility-model
Submit a Jupyter notebook
btcvol-submit GARCH_Baseline.ipynb --name garch-model
How It Works
- Validates your model file (checks for TrackerBase inheritance)
- Converts notebooks to Python (using crunch-convert)
- Creates submission structure in
deployment/model-orchestrator-local/data/submissions/ - Updates
models.dev.ymlconfiguration - Restarts orchestrator to deploy your model
Requirements
- Must be run from the competition infrastructure repository
- Model must inherit from
btcvol.TrackerBase - Model must implement
predict(asset, horizon, step)method
For Participants
Participants should NOT use this CLI directly. Instead:
- Use the web UI at http://localhost:3000/models
- Or submit via the competition platform
This CLI is for local development and testing of the competition infrastructure.
Development
To contribute or modify:
git clone https://github.com/jberros/btcvol-cli.git
cd btcvol-cli
pip install -e .
License
MIT License - See LICENSE file for details
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
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 btcvol_cli-1.2.0.tar.gz.
File metadata
- Download URL: btcvol_cli-1.2.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48bea5827ea3e104a4d4a3b33aea756ce0083bf76ccc16edff39c8be95d0cba5
|
|
| MD5 |
d9b2a7f1ed59d54c9cee1ba3ecb43e31
|
|
| BLAKE2b-256 |
fb9a9fa11e020d5180c422f2b18c9d99b3d83b20fa5f8fa3d4504e5a6bca251d
|
File details
Details for the file btcvol_cli-1.2.0-py3-none-any.whl.
File metadata
- Download URL: btcvol_cli-1.2.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6515accc0a12fe12563cc1c3b815222a492a08acef3eebeb2405d4d1a12423dc
|
|
| MD5 |
e3f64d7886586f97a599764ca4d82791
|
|
| BLAKE2b-256 |
970d9c105897a37c73d1bdb958f560d4a9c86deb20954bb9b871d0292d94cee6
|