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:
insighta-sbi-tool— SBI Securities (Japan)
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cb9ed34071cf08fbdf0a4d95b95a67ac65c81137b2f3b8c660a74fddfbbbb42
|
|
| MD5 |
da59e530c6e459c7cda786b55c527e51
|
|
| BLAKE2b-256 |
64753b23d07141d3a7d1352acadebaf7da67c8e177bf09e75317c86403091e61
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3caf08778bd1ecdfda99b630d8978080d2ba8c7cbfc4bec58562b09f9fae672e
|
|
| MD5 |
2ddc8eb19c00d4c848d56c7dfa385a1e
|
|
| BLAKE2b-256 |
0bc2c6cbc0a14c0593faa2d095009e0adc9e888148d90b2ee3db95c0f1024ead
|