Skip to main content

Insighta Cloud CLI - portfolio upload framework

Project description

insighta-cli

Insighta Cloud CLI — portfolio upload framework with plugin support.

Installation

pip install insighta-cli

Usage

# Prepare upload files from trade history
insighta --work my-portfolio prepare

# Upload to Insighta Cloud
insighta --work my-portfolio upload --config output/upload.yaml

# Portfolio management
insighta list-portfolios
insighta search-portfolios --search "tech"
insighta delete-portfolio <portfolio_id>
insighta nav-history <portfolio_id>
insighta metrics-history <portfolio_id>

# News & search
insighta news --period 7
insighta search "AAPL"

# Order history
insighta orders --portfolio-id <portfolio_id>

# History & backfill
insighta history <portfolio_id>
insighta backfill <portfolio_id>

# Image parsing
insighta image screenshot.png --prompt "Extract trades from this image"

# Configuration
insighta config --credentials credentials.yaml

Commands

Command Description
prepare Generate upload.yaml + order.csv from trade history
upload Send portfolio data to Insighta API
config Save/display default settings
list-portfolios List own portfolios
search-portfolios Search public portfolios
delete-portfolio Delete a portfolio
nav-history Get NAV history
metrics-history Get metrics history
news Fetch recent news
search Search entities by keyword
history Get combined NAV + metrics history
orders List order history
image Upload and parse images with AI
backfill Trigger history backfill

All commands support --output-json for machine-readable output.

Plugin System

Brokerage-specific tools register commands via entry_points:

[project.entry-points."insighta_cli.plugins"]
sbi = "insighta_sbi:register"

Available plugins:

Development

pip install -e ".[dev]"
pre-commit install
insighta --help

See CONTRIBUTING.md for guidelines.

License

CC-BY-NC-4.0 — See LICENSE

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

insighta_cli-0.1.2.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

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

insighta_cli-0.1.2-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file insighta_cli-0.1.2.tar.gz.

File metadata

  • Download URL: insighta_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for insighta_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6cb9ed34071cf08fbdf0a4d95b95a67ac65c81137b2f3b8c660a74fddfbbbb42
MD5 da59e530c6e459c7cda786b55c527e51
BLAKE2b-256 64753b23d07141d3a7d1352acadebaf7da67c8e177bf09e75317c86403091e61

See more details on using hashes here.

File details

Details for the file insighta_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: insighta_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for insighta_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3caf08778bd1ecdfda99b630d8978080d2ba8c7cbfc4bec58562b09f9fae672e
MD5 2ddc8eb19c00d4c848d56c7dfa385a1e
BLAKE2b-256 0bc2c6cbc0a14c0593faa2d095009e0adc9e888148d90b2ee3db95c0f1024ead

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