insert([ // 國泰基金 holding_id=2 [ 'holding_id' => 2, 'action' => 'buy', 'shares' => 35.70, 'price' => 56.11, 'amount' => null, 'nav' => null, 'fee' => 0, 'tax' => 0, 'traded_at' => '2026-06-05', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 2, 'action' => 'buy', 'shares' => 20.10, 'price' => 49.74, 'amount' => null, 'nav' => null, 'fee' => 0, 'tax' => 0, 'traded_at' => '2026-05-20', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 2, 'action' => 'buy', 'shares' => 29.00, 'price' => 34.48, 'amount' => null, 'nav' => null, 'fee' => 0, 'tax' => 0, 'traded_at' => '2026-02-05', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 2, 'action' => 'buy', 'shares' => 27.30, 'price' => 36.59, 'amount' => null, 'nav' => null, 'fee' => 0, 'tax' => 0, 'traded_at' => '2026-02-23', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 2, 'action' => 'buy', 'shares' => 27.10, 'price' => 36.89, 'amount' => null, 'nav' => null, 'fee' => 0, 'tax' => 0, 'traded_at' => '2026-03-05', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 2, 'action' => 'buy', 'shares' => 25.10, 'price' => 39.79, 'amount' => null, 'nav' => null, 'fee' => 0, 'tax' => 0, 'traded_at' => '2026-03-20', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 2, 'action' => 'buy', 'shares' => 25.40, 'price' => 39.39, 'amount' => null, 'nav' => null, 'fee' => 0, 'tax' => 0, 'traded_at' => '2026-04-07', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 2, 'action' => 'buy', 'shares' => 21.10, 'price' => 47.36, 'amount' => null, 'nav' => null, 'fee' => 0, 'tax' => 0, 'traded_at' => '2026-04-20', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 2, 'action' => 'buy', 'shares' => 18.90, 'price' => 52.89, 'amount' => null, 'nav' => null, 'fee' => 0, 'tax' => 0, 'traded_at' => '2026-05-05', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], // 0050 holding_id=1 [ 'holding_id' => 1, 'action' => 'buy', 'shares' => 1.00, 'price' => 70.05, 'amount' => null, 'nav' => null, 'fee' => 1, 'tax' => 0, 'traded_at' => '2026-01-09', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 1, 'action' => 'buy', 'shares' => 50.00, 'price' => 70.05, 'amount' => null, 'nav' => null, 'fee' => 1, 'tax' => 0, 'traded_at' => '2026-01-09', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 1, 'action' => 'buy', 'shares' => 14.00, 'price' => 104.49, 'amount' => null, 'nav' => null, 'fee' => 1, 'tax' => 0, 'traded_at' => '2026-06-05', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 1, 'action' => 'buy', 'shares' => 14.00, 'price' => 100.54, 'amount' => null, 'nav' => null, 'fee' => 1, 'tax' => 0, 'traded_at' => '2026-05-25', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 1, 'action' => 'buy', 'shares' => 15.00, 'price' => 94.39, 'amount' => null, 'nav' => null, 'fee' => 1, 'tax' => 0, 'traded_at' => '2026-05-05', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 1, 'action' => 'buy', 'shares' => 17.00, 'price' => 86.59, 'amount' => null, 'nav' => null, 'fee' => 1, 'tax' => 0, 'traded_at' => '2026-04-23', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 1, 'action' => 'buy', 'shares' => 33.00, 'price' => 75.14, 'amount' => null, 'nav' => null, 'fee' => 1, 'tax' => 0, 'traded_at' => '2026-04-07', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 1, 'action' => 'buy', 'shares' => 20.00, 'price' => 74.02, 'amount' => null, 'nav' => null, 'fee' => 1, 'tax' => 0, 'traded_at' => '2026-03-23', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 1, 'action' => 'buy', 'shares' => 45.00, 'price' => 77.53, 'amount' => null, 'nav' => null, 'fee' => 1, 'tax' => 0, 'traded_at' => '2026-03-05', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 1, 'action' => 'buy', 'shares' => 48.00, 'price' => 72.02, 'amount' => null, 'nav' => null, 'fee' => 1, 'tax' => 0, 'traded_at' => '2026-02-05', 'note' => '定期定額', 'created_at' => now(), 'updated_at' => now() ], [ 'holding_id' => 1, 'action' => 'buy', 'shares' => 47.00, 'price' => 62.54, 'amount' => null, 'nav' => null, 'fee' => 1, 'tax' => 0, 'traded_at' => '2025-12-05', 'note' => null, 'created_at' => now(), 'updated_at' => now() ], ]); } }