Editing ib
Home
|
View
$P&C4Sx%pi here, read this: What landed (3 commits on main) 1. importers: fix IBKR forex conversions, realized gains, option multipliers — the three coupled bugs. 2. tests: add IBKR importer regression test — 4 tests, all passing (forex balances, sells book net proceeds + capital gains, option cost = price×multiplier, everything loads clean). 3. kiyomi: rebuild IBKR trade history… — regenerated every Buy/Sell + the 134 missing forex conversions from the full-history records, preserving your manual cash-leg categorizations (deposits→Income:Other, dividends→Gifts, withholding→Equity:Internal). The corrected ledger (Kiyomi Assets:AU:IBKR:Cash) ┌──────────┬─────────┬───────┬────────┐ │ Currency │ Before │ After │ Broker │ ├──────────┼─────────┼───────┼────────┤ │ AUD │ +84,304 │ 0.00 │ 0 │ ├──────────┼─────────┼───────┼────────┤ │ CAD │ −5,455 │ 0.00 │ 0 │ ├──────────┼─────────┼───────┼────────┤ │ USD │ −35,379 │ 73.07 │ ~70.37 │ ├──────────┼─────────┼───────┼────────┤ │ HKD │ −18,006 │ 41.11 │ ~0 │ └──────────┴─────────┴───────┴────────┘ From a $10k+ multi-currency overstatement down to ~$8 total. bean-check clean on both ledgers; all 19 position assertions still pass; realized capital gains are now booked.
Upload File(s)
Attachments
20260529_170527.jpg
20260529_170522.jpg
20260529_170518.jpg
20260529_170514.jpg
20260529_170506.jpg
20260529_170454.jpg
20260529_170450.jpg
20260529_170501.jpg
Danger Zone