Skip to content

Instantly share code, notes, and snippets.

@matsubo
Created July 29, 2025 06:32
Show Gist options
  • Save matsubo/555e510507c7d80f605d752b068beb3f to your computer and use it in GitHub Desktop.
Save matsubo/555e510507c7d80f605d752b068beb3f to your computer and use it in GitHub Desktop.

口座の関係性と操作

graph TD
    subgraph "証券総合取引口座 (日本円)"
        A[お客様の銀行口座] --> B["証券総合取引口座 (日本円)"]
        B --> C[日本株買付・売却]
        B --> D[投資信託買付・売却]
        B -- 資金振替 --> E["外国株取引口座 (日本円)"]
        C -- 売却代金 --> B
        D -- 売却代金 --> B
    end

    subgraph 外国株取引口座
        E["外国株取引口座 (日本円)"] -- 為替振替 (手動) / 円貨決済 (自動) --> F["外国株取引口座 (米ドル)"]
        F --> G[米国株買付・売却]
        G -- 売却代金 --> F
        G -- 配当金 --> F
        F -- 為替振替 --> E
    end

    style B fill:#e0f2f7,stroke:#333,stroke-width:2px
    style E fill:#e0f2f7,stroke:#333,stroke-width:2px
    style F fill:#f7e0f2,stroke:#333,stroke-width:2px
    style G fill:#f7f2e0,stroke:#333,stroke-width:2px

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment