Skip to main content

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

  1. Validates your model file (checks for TrackerBase inheritance)
  2. Converts notebooks to Python (using crunch-convert)
  3. Creates submission structure in deployment/model-orchestrator-local/data/submissions/
  4. Updates models.dev.yml configuration
  5. 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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

btcvol_cli-1.2.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

btcvol_cli-1.2.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

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

Hashes for btcvol_cli-1.2.0.tar.gz
Algorithm Hash digest
SHA256 48bea5827ea3e104a4d4a3b33aea756ce0083bf76ccc16edff39c8be95d0cba5
MD5 d9b2a7f1ed59d54c9cee1ba3ecb43e31
BLAKE2b-256 fb9a9fa11e020d5180c422f2b18c9d99b3d83b20fa5f8fa3d4504e5a6bca251d

See more details on using hashes here.

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

Hashes for btcvol_cli-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6515accc0a12fe12563cc1c3b815222a492a08acef3eebeb2405d4d1a12423dc
MD5 e3f64d7886586f97a599764ca4d82791
BLAKE2b-256 970d9c105897a37c73d1bdb958f560d4a9c86deb20954bb9b871d0292d94cee6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page