Skip to main content

Cryptocurrency dollar-cost averaging on the CLI (via the Coinbase Advanced API).

Project description

hodl

A CLI for DCAing into and out of crypto via the Coinbase Advanced API.

Setup

  1. Ensure you have python3 installed
  2. Clone the repo
  3. pip install -r requirements.txt
  4. Set Environment Variables:
export COINBASE_API_KEY="organizations/{org_id}/apiKeys/{key_id}"
export COINBASE_API_SECRET="-----BEGIN EC PRIVATE KEY-----\nYOUR PRIVATE KEY\n-----END EC PRIVATE KEY-----\n"
  1. Run the CLI with python hodl.py

Running on the Crontab

Consider creating a shell script to invoke the application and then adding that to the crontab. For example:

TODO

Usage

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

hodl-cb-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

hodl_cb-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file hodl-cb-0.1.0.tar.gz.

File metadata

  • Download URL: hodl-cb-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for hodl-cb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5a5de022e56c5485760b599cfbc68d6add8386f50728535efcd029a8ad2ccac1
MD5 e5faac0d7889c8cd51b58fceb743f5cf
BLAKE2b-256 a132bb7b8011d39dcf8c340b7e7c1528ae5b08b7add38f68e09a7b796d6bd508

See more details on using hashes here.

File details

Details for the file hodl_cb-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hodl_cb-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for hodl_cb-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33b064adbb75d91108a5cafa5da0f50e7e0ddb754d03e5bb4310dacc162e88e0
MD5 ff94aefc189af4b656cd10ee18a8ecd4
BLAKE2b-256 16cd061e05668d8ed24c787bb67b53c8dd24b5687766322647255cea8e91dfd2

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