add portfolio loader export
This commit is contained in:
parent
a107008b35
commit
d5fd8aa4b6
1 changed files with 9 additions and 1 deletions
10
src/root.zig
10
src/root.zig
|
|
@ -86,13 +86,21 @@ pub const analysis = @import("analytics/analysis.zig");
|
||||||
|
|
||||||
/// Portfolio-vs-brokerage reconciliation (pure compute): compare
|
/// Portfolio-vs-brokerage reconciliation (pure compute): compare
|
||||||
/// accounts, ratio-update suggestions, absent-account detection. The
|
/// 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");
|
pub const reconcile = @import("analytics/reconcile.zig");
|
||||||
|
|
||||||
/// Brokerage export parsers (Schwab/Fidelity/Wells Fargo positions +
|
/// Brokerage export parsers (Schwab/Fidelity/Wells Fargo positions +
|
||||||
/// summary) and the normalized `BrokeragePosition` shape.
|
/// summary) and the normalized `BrokeragePosition` shape.
|
||||||
pub const brokerage = @import("brokerage.zig");
|
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 ──────────────────────────────────────────
|
// ── Market calendar ──────────────────────────────────────────
|
||||||
|
|
||||||
/// Trading-day calendar (NYSE holidays, weekends) and market-aware
|
/// Trading-day calendar (NYSE holidays, weekends) and market-aware
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue