{
  "schema": "hypechain-local-reconciliation-v1",
  "scope": "Fictional local exercise only. Not a Hyperliquid export or Koinly upload. No provider import or tax result.",
  "opening_usdc": "0.00",
  "expected_closing_usdc": "88.90",
  "period_start_utc": "2026-01-01T00:00:00Z",
  "period_end_utc": "2026-01-02T00:00:00Z",
  "sources": [
    {
      "account": "SYNTHETIC-control",
      "network": "HyperCore",
      "asset": "USDC",
      "source_id": "SYNTHETIC-deposit",
      "time_utc": "2026-01-01T00:00:00Z",
      "kind": "deposit",
      "amount": "100.00"
    },
    {
      "account": "SYNTHETIC-control",
      "network": "HyperCore",
      "asset": "USDC",
      "source_id": "SYNTHETIC-fill-01",
      "time_utc": "2026-01-01T12:00:00Z",
      "kind": "fill",
      "order_id": "SYNTHETIC-order-01",
      "trade_id": "SYNTHETIC-trade-01",
      "realized_pnl": "12.50",
      "fee": "0.40",
      "builder_fee_included": "0.10"
    },
    {
      "account": "SYNTHETIC-control",
      "network": "HyperCore",
      "asset": "USDC",
      "source_id": "SYNTHETIC-fill-02",
      "time_utc": "2026-01-01T12:00:00Z",
      "kind": "fill",
      "order_id": "SYNTHETIC-order-01",
      "trade_id": "SYNTHETIC-trade-02",
      "realized_pnl": "-3.00",
      "fee": "0.20",
      "builder_fee_included": "0.00"
    },
    {
      "account": "SYNTHETIC-control",
      "network": "HyperCore",
      "asset": "USDC",
      "source_id": "SYNTHETIC-funding-01",
      "time_utc": "2026-01-01T16:00:00Z",
      "kind": "funding",
      "amount": "-0.40"
    },
    {
      "account": "SYNTHETIC-control",
      "network": "HyperCore",
      "asset": "USDC",
      "source_id": "SYNTHETIC-funding-02",
      "time_utc": "2026-01-01T20:00:00Z",
      "kind": "funding",
      "amount": "0.40"
    },
    {
      "account": "SYNTHETIC-control",
      "network": "HyperCore",
      "asset": "USDC",
      "source_id": "SYNTHETIC-withdrawal",
      "time_utc": "2026-01-02T00:00:00Z",
      "kind": "withdrawal",
      "amount": "-20.00"
    }
  ],
  "cases": [
    {
      "id": "clean",
      "entries": [
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-deposit",
          "time_utc": "2026-01-01T00:00:00Z",
          "component": "deposit",
          "amount": "100.00"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-01",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "pnl",
          "amount": "12.50"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-01",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "fee",
          "amount": "-0.40"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-02",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "pnl",
          "amount": "-3.00"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-02",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "fee",
          "amount": "-0.20"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-funding-01",
          "time_utc": "2026-01-01T16:00:00Z",
          "component": "funding",
          "amount": "-0.40"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-funding-02",
          "time_utc": "2026-01-01T20:00:00Z",
          "component": "funding",
          "amount": "0.40"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-withdrawal",
          "time_utc": "2026-01-02T00:00:00Z",
          "component": "withdrawal",
          "amount": "-20.00"
        }
      ],
      "expected": {
        "accepted": true,
        "entry_count": 8,
        "closing_usdc": "88.90",
        "delta_usdc": "0.00",
        "missing": 0,
        "duplicates": 0,
        "mismatched": 0,
        "unexpected": 0
      }
    },
    {
      "id": "missing-offsetting-funding",
      "entries": [
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-deposit",
          "time_utc": "2026-01-01T00:00:00Z",
          "component": "deposit",
          "amount": "100.00"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-01",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "pnl",
          "amount": "12.50"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-01",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "fee",
          "amount": "-0.40"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-02",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "pnl",
          "amount": "-3.00"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-02",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "fee",
          "amount": "-0.20"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-withdrawal",
          "time_utc": "2026-01-02T00:00:00Z",
          "component": "withdrawal",
          "amount": "-20.00"
        }
      ],
      "expected": {
        "accepted": false,
        "entry_count": 6,
        "closing_usdc": "88.90",
        "delta_usdc": "0.00",
        "missing": 2,
        "duplicates": 0,
        "mismatched": 0,
        "unexpected": 0
      }
    },
    {
      "id": "duplicate-funding",
      "entries": [
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-deposit",
          "time_utc": "2026-01-01T00:00:00Z",
          "component": "deposit",
          "amount": "100.00"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-01",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "pnl",
          "amount": "12.50"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-01",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "fee",
          "amount": "-0.40"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-02",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "pnl",
          "amount": "-3.00"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-02",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "fee",
          "amount": "-0.20"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-funding-01",
          "time_utc": "2026-01-01T16:00:00Z",
          "component": "funding",
          "amount": "-0.40"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-funding-02",
          "time_utc": "2026-01-01T20:00:00Z",
          "component": "funding",
          "amount": "0.40"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-withdrawal",
          "time_utc": "2026-01-02T00:00:00Z",
          "component": "withdrawal",
          "amount": "-20.00"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-funding-01",
          "time_utc": "2026-01-01T16:00:00Z",
          "component": "funding",
          "amount": "-0.40"
        }
      ],
      "expected": {
        "accepted": false,
        "entry_count": 9,
        "closing_usdc": "88.50",
        "delta_usdc": "-0.40",
        "missing": 0,
        "duplicates": 1,
        "mismatched": 0,
        "unexpected": 0
      }
    },
    {
      "id": "double-builder-fee",
      "entries": [
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-deposit",
          "time_utc": "2026-01-01T00:00:00Z",
          "component": "deposit",
          "amount": "100.00"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-01",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "pnl",
          "amount": "12.50"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-01",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "fee",
          "amount": "-0.50"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-02",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "pnl",
          "amount": "-3.00"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-fill-02",
          "time_utc": "2026-01-01T12:00:00Z",
          "component": "fee",
          "amount": "-0.20"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-funding-01",
          "time_utc": "2026-01-01T16:00:00Z",
          "component": "funding",
          "amount": "-0.40"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-funding-02",
          "time_utc": "2026-01-01T20:00:00Z",
          "component": "funding",
          "amount": "0.40"
        },
        {
          "account": "SYNTHETIC-control",
          "network": "HyperCore",
          "asset": "USDC",
          "source_id": "SYNTHETIC-withdrawal",
          "time_utc": "2026-01-02T00:00:00Z",
          "component": "withdrawal",
          "amount": "-20.00"
        }
      ],
      "expected": {
        "accepted": false,
        "entry_count": 8,
        "closing_usdc": "88.80",
        "delta_usdc": "-0.10",
        "missing": 0,
        "duplicates": 0,
        "mismatched": 1,
        "unexpected": 0
      }
    }
  ]
}
