Skip to main content

CapInvest Platform CLI

Downloads LatestRelease

CapInvest is committed to build the future of investment research by focusing on an open source infrastructure accessible to everyone, everywhere.
OpenBBLogo
Check our website at openbb.co

Overview

The CapInvest Platform CLI is a command line interface that wraps CapInvest Platform.

It offers a convenient way to interact with the CapInvest Platform and its extensions, as well as automated data collection via CapInvest Routine Scripts.

Find the most complete documentation, examples, and usage guides for the CapInvest Platform CLI here.

Installation

The command below provides access to all the available CapInvest extensions behind the CapInvest Platform, find the complete list here.

pip install capinvest-cli

Note: Find the most complete installation hints and tips here.

After the installation is complete, you can deploy the CapInvest Platform CLI by running the following command:

capinvest

Which should result in the following output:

image

API keys

To fully leverage the CapInvest Platform you need to get some API keys to connect with data providers. Here are the 3 options on where to set them:

  1. CapInvest Hub
  2. Local file

1. CapInvest Hub

Set your keys at CapInvest Hub and get your personal access token from https://my.openbb.co/app/platform/pat to connect with your account.

Once you log in, on the Platform CLI (through the /account menu, all your credentials will be in sync with the CapInvest Hub.)

2. Local file

You can specify the keys directly in the ~/.capinvest_platform/user_settings.json file.

Populate this file with the following template and replace the values with your keys:

{
  "credentials": {
    "fmp_api_key": "REPLACE_ME",
    "polygon_api_key": "REPLACE_ME",
    "benzinga_api_key": "REPLACE_ME",
    "fred_api_key": "REPLACE_ME"
  }
}

Metadata

Release files for capinvest-cli 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for capinvest-cli 1.0.3
File Size Uploaded
capinvest_cli-1.0.3.tar.gz 266.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for capinvest-cli 1.0.3
File Interpreter ABI Platform
capinvest_cli-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 550.1 kB

Release files / capinvest_cli-1.0.3.tar.gz

Download URL capinvest_cli-1.0.3.tar.gz
Size 266.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6b03cf4e8b14697d857a07b4ae241ca1c0b8bf8a2344245e06b9c7af63892ad9
BLAKE2b-256 checksum
How to use checksums
9b136c167042f27e73651ed689979f23be0b56ddee7f1882e280b27277ada874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.11.4 Windows/10

Release files / capinvest_cli-1.0.3-py3-none-any.whl

Download URL capinvest_cli-1.0.3-py3-none-any.whl
Size 283.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
348ad855d358bc7d79bf5a6e05e1167910c65e104f4c806aebeb8083c3dd6146
BLAKE2b-256 checksum
How to use checksums
ed0bbadecc8c6a5775619cdd717d98d5bd036a5fc31ef414b4b1bca24c2600b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.11.4 Windows/10

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page