SBI Securities parser plugin for Insighta CLI
Project description
insighta-sbi-tool
insighta-cli 用の SBI証券パーサープラグイン。
インストール
pip install insighta-sbi-tool
insighta-cli と insighta-sdk が依存関係として自動インストールされます。
使い方
# SBI取引履歴をCSVにパース
insighta --work sbi-us-stocks parse
# パース結果を現在の保有銘柄と照合
insighta --work sbi-us-stocks verify
認証
insighta.cloud/settings の Developer タブから 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
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_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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f9333b5606bc779c77319e06d1ad57c862e23a69171a39aace7ef60e50987be
|
|
| MD5 |
b0ac596ac103e31f4d8c462c774b91e8
|
|
| BLAKE2b-256 |
e35dd875afc47743d6716e35aa26046bd1d4f126df8ba3c03fe5361a5b026752
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
insighta_sbi_tool-0.2.0.tar.gz -
Subject digest:
5f9333b5606bc779c77319e06d1ad57c862e23a69171a39aace7ef60e50987be - Sigstore transparency entry: 1679792188
- Sigstore integration time:
-
Permalink:
insighta-cloud/insighta-sbi-tool@895ddfeb58ac0750b3f41a47dd6d14853c474190 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/insighta-cloud
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@895ddfeb58ac0750b3f41a47dd6d14853c474190 -
Trigger Event:
push
-
Statement type:
File details
Details for the file insighta_sbi_tool-0.2.0-py3-none-any.whl.
File metadata
- Download URL: insighta_sbi_tool-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9f98454f12728f544591a684e7866d559f5f23aa49ecd23b14f82c58b9152d4
|
|
| MD5 |
dc91eff6484ce62783620474e457089b
|
|
| BLAKE2b-256 |
061732de0db50836c551d0c823af7eee2c3a917947b1034468177a85339d0530
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
insighta_sbi_tool-0.2.0-py3-none-any.whl -
Subject digest:
f9f98454f12728f544591a684e7866d559f5f23aa49ecd23b14f82c58b9152d4 - Sigstore transparency entry: 1679792247
- Sigstore integration time:
-
Permalink:
insighta-cloud/insighta-sbi-tool@895ddfeb58ac0750b3f41a47dd6d14853c474190 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/insighta-cloud
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@895ddfeb58ac0750b3f41a47dd6d14853c474190 -
Trigger Event:
push
-
Statement type: