diff options
| author | Somhairle H. Marisol <[email protected]> | 2026-09-22 11:59:00 +0800 |
|---|---|---|
| committer | Somhairle H. Marisol <[email protected]> | 2026-09-22 11:59:00 +0800 |
| commit | 8d98ba88f75852f5cc4b5d66c5b30210b7eefe6c (patch) | |
| tree | aba9aa2210103460935fd1a9baa0b9f4e69efdca /src/FundLab.Api/Program.fs | |
| parent | 4ff91444dc9f29acf6f8459572a6cbf7db676b59 (diff) | |
| download | fund-lab-8d98ba88f75852f5cc4b5d66c5b30210b7eefe6c.tar.gz | |
Backfill cash ledger from historical transactions and add reconciliation QA (3d-32)
Diffstat (limited to 'src/FundLab.Api/Program.fs')
| -rw-r--r-- | src/FundLab.Api/Program.fs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FundLab.Api/Program.fs b/src/FundLab.Api/Program.fs index 768fb26..9c3be63 100644 --- a/src/FundLab.Api/Program.fs +++ b/src/FundLab.Api/Program.fs @@ -17,6 +17,7 @@ let main argv = builder.Services.AddGiraffe() |> ignore let repository = FundRepository(requiredEnvironment "FUND_LAB_DATABASE_URL") repository.EnsureSchema() + repository.BackfillCashLedger() |> ignore let collector = ProcessMarketDataCollector.FromEnvironment() :> IMarketDataCollector let marketData = MarketDataService(repository, collector) :> IMarketDataService let navDateProbe = AkshareNavDateProbe(collector) :> INavDateProbe |
