Skip to main content

SBI Securities parser plugin for Insighta CLI

Project description

insighta-sbi-tool

CI PyPI Python License

insighta-cli 用の SBI証券パーサープラグイン。

インストール

pip install insighta-sbi-tool

insighta-cliinsighta-sdk が依存関係として自動インストールされます。

使い方

# SBI取引履歴をCSVにパース
insighta --work sbi-us-stocks parse

# パース結果を現在の保有銘柄と照合
insighta --work sbi-us-stocks verify

認証

insighta.cloud/settingsDeveloper タブから API キーを取得し、保存します:

insighta config --credentials credentials.yaml

credentials.yaml の形式:

api_key: "your-api-key-here"
endpoint: "https://openapi.insighta.cloud"

対応フォーマット

種類 形式 エンコーディング
注文履歴 HTML (Webスクレイプ) UTF-8
保有銘柄一覧 HTML (Webスクレイプ) UTF-8
約定履歴 CSV Shift_JIS
入出金振替 CSV UTF-8
外貨入出金 CSV UTF-8
為替取引 CSV Shift_JIS
配当金 CSV Shift_JIS
国内投信取引 CSV Shift_JIS

ワークスペース構成

workspaces/sbi-us-stocks/
├── input/
│   ├── sbi/          ← SBIファイルをここに配置(自動分類)
│   ├── seed/         ← 既存保有銘柄CSV(任意)
│   └── rate.csv      ← 為替レート期間(任意)
└── output/
    ├── history.csv   ← 生成された取引履歴
    ├── order.csv     ← 生成された注文グループ
    └── upload.yaml   ← アップロード設定

開発

pip install -e .
insighta --help

ガイドラインは CONTRIBUTING.md を参照してください。

ライセンス

CC-BY-NC-4.0 — 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_sbi_tool-0.2.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

insighta_sbi_tool-0.2.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file insighta_sbi_tool-0.2.0.tar.gz.

File metadata

  • Download URL: insighta_sbi_tool-0.2.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for insighta_sbi_tool-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5f9333b5606bc779c77319e06d1ad57c862e23a69171a39aace7ef60e50987be
MD5 b0ac596ac103e31f4d8c462c774b91e8
BLAKE2b-256 e35dd875afc47743d6716e35aa26046bd1d4f126df8ba3c03fe5361a5b026752

See more details on using hashes here.

Provenance

The following attestation bundles were made for insighta_sbi_tool-0.2.0.tar.gz:

Publisher: publish.yml on insighta-cloud/insighta-sbi-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file insighta_sbi_tool-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for insighta_sbi_tool-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9f98454f12728f544591a684e7866d559f5f23aa49ecd23b14f82c58b9152d4
MD5 dc91eff6484ce62783620474e457089b
BLAKE2b-256 061732de0db50836c551d0c823af7eee2c3a917947b1034468177a85339d0530

See more details on using hashes here.

Provenance

The following attestation bundles were made for insighta_sbi_tool-0.2.0-py3-none-any.whl:

Publisher: publish.yml on insighta-cloud/insighta-sbi-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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