Skip to main content

M2 — ViewTrade USD ingestion

Made ViewTrade a real posting source: funding wires, trades, brokerage economics. A separate India path that reuses the source-neutral accounting engine.

What shipped

  • ViewTrade authentication chain (from the ledger itself).
  • Funding wires + orders ingestion.
  • Brokerage economics (22 bps customer / 4 bps ViewTrade cost / 18 bps Valura residual).
  • Recost dispatch for India, alongside the untouched UAE recost.
  • India Jobs UI (sync buttons, drops the UAE-only ones).
  • Withdrawals, sell-side validation, treasury view, per-customer + firm- wide ledger reconciliation.
  • LRS + TCS report (early version).
  • Account-status compliance view.
  • Scheduled loops (config-gated off).

What was blocked

  • Per-event dividends — the corporate-actions endpoint returned 404. (Later unblocked in M5 via a Daily-Ledger CSV feed.)

What was still blocked at end of M2

  • Interest events — no upstream data source.