{
    "id": "PRT-011",
    "category": "PRT",
    "title": "已平倉損益報表",
    "question": "已完成交易實際產生多少盈利或虧損？",
    "chart": "table",
    "metric": "已實現損益（記帳幣）",
    "secondary": "持有期與交易費用",
    "x": "平倉批次",
    "y": "已實現損益（記帳幣）",
    "panels": [
        "已平倉損益",
        "批次配對",
        "費用及匯率"
    ],
    "filters": [
        "投資帳戶",
        "分析期間",
        "記帳幣別"
    ],
    "apis": [
        "EOD",
        "SPLIT",
        "FX",
        "USER"
    ],
    "calculation": "按用戶選定一致批次匹配規則，銷售淨收入減匹配成本與費用，再以實際匯率處理。",
    "caveat": "需要用戶的持倉／交易／現金流或情境設定；EODHD 不提供券商帳戶。需完整成交與拆股紀錄；管理用損益不直接視為法定稅表。",
    "data_class": "用戶資料",
    "complexity": "低",
    "audience": "大眾",
    "reach": 9,
    "frequency": 9,
    "decision": 10,
    "clarity": 10,
    "sample_labels": [
        "盈利批次",
        "虧損批次",
        "部分平倉",
        "資料待補"
    ],
    "cadence": "每日收市及用戶交易更新後",
    "sample_note": "僅用於合成視覺示意，並非真實行情或投資成果。",
    "category_name": "投資組合",
    "score": 93.5,
    "requires_user_input": true,
    "requires_extra_plan": false,
    "source_urls": [
        "https://eodhd.com/financial-apis/api-for-historical-data-and-volumes",
        "https://eodhd.com/financial-apis/api-splits-dividends",
        "https://eodhd.com/financial-apis/list-supported-forex-currencies"
    ],
    "rank": 57,
    "stage": "P1",
    "svg_file": "mockups/0057-PRT-011.svg",
    "demo_fingerprint": "05a2a941b5c4e89f",
    "collection": "catalogue",
    "sample_annotation": {
        "sample": true,
        "as_of": "2026-10-16",
        "notice": "Charts and tables for this report are generated, deterministic synthetic sample observations for educational layout and unit demonstration only. No provider, market data or analysis engine is called, and nothing here is a statement about real securities.",
        "notice_zh": "此報告的圖表與數據為確定性生成的合成示例數據，僅供教育及版面展示；並無連接任何資料供應商或實際分析引擎，不代表任何真實證券的表現。",
        "default_filters": {
            "symbol": "0700.HK",
            "period": "1Y",
            "benchmark": "HSI"
        },
        "filters": {
            "symbol": [
                "0700.HK",
                "0005.HK",
                "AAPL.US",
                "MSFT.US",
                "SPY.US",
                "BTC-USD.CC"
            ],
            "period": [
                "1Y",
                "3Y",
                "5Y"
            ],
            "benchmark": [
                "HSI",
                "SPX",
                "BTC"
            ]
        },
        "library": {
            "version": "2026-10-19",
            "source": "https://chatgpt.com/share/6ad67223-c610-83e8-adb2-33aaf792e584",
            "sample": true
        }
    }
}