add portfolio loader export
All checks were successful
Generic zig build / build (push) Successful in 4m56s
Generic zig build / publish-macos (push) Successful in 13s
Generic zig build / deploy (push) Successful in 20s

This commit is contained in:
Emil Lerch 2026-08-02 12:19:47 -07:00
parent a107008b35
commit d5fd8aa4b6
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -86,13 +86,21 @@ pub const analysis = @import("analytics/analysis.zig");
/// Portfolio-vs-brokerage reconciliation (pure compute): compare
/// accounts, ratio-update suggestions, absent-account detection. The
/// audit command renders these; downstream tools (finrev) consume them.
/// audit command renders these; downstream tools consume them.
pub const reconcile = @import("analytics/reconcile.zig");
/// Brokerage export parsers (Schwab/Fidelity/Wells Fargo positions +
/// summary) and the normalized `BrokeragePosition` shape.
pub const brokerage = @import("brokerage.zig");
/// Portfolio loading from srf files: the union-merge loader the CLI uses
/// (`loadPortfolioFromPaths`, `loadPortfolioFromConfig`, `LoadedPortfolio`).
/// Exported so downstream tools can build a `Portfolio` from
/// portfolio.srf without reimplementing the loader - pair it with
/// `DataService.loadAllPrices` to get the price map the `reconcile`
/// compute functions expect.
pub const portfolio_loader = @import("portfolio_loader.zig");
// Market calendar
/// Trading-day calendar (NYSE holidays, weekends) and market-aware