summaryrefslogtreecommitdiff
path: root/src/FundLab.Api/Program.fs
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-22 00:19:09 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-22 00:19:09 +0800
commit0597ac74757e223c17a6477ff49d69a559168279 (patch)
tree3ab8934481bf9aaef89163fd216f15248fe118ac /src/FundLab.Api/Program.fs
parent36ee23a0c406c16e975276238a861299899ec79a (diff)
downloadfund-lab-0597ac74757e223c17a6477ff49d69a559168279.tar.gz
Add real AKShare NAV-date probe slice (3d-12)
Diffstat (limited to 'src/FundLab.Api/Program.fs')
-rw-r--r--src/FundLab.Api/Program.fs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FundLab.Api/Program.fs b/src/FundLab.Api/Program.fs
index b7d0ef6..ba5936e 100644
--- a/src/FundLab.Api/Program.fs
+++ b/src/FundLab.Api/Program.fs
@@ -19,8 +19,9 @@ let main argv =
repository.EnsureSchema()
let collector = ProcessMarketDataCollector.FromEnvironment() :> IMarketDataCollector
let marketData = MarketDataService(repository, collector) :> IMarketDataService
+ let navDateProbe = AkshareNavDateProbe(collector) :> INavDateProbe
let app = builder.Build()
- app.UseGiraffe(App.createApplicationWithMarketData repository marketData)
+ app.UseGiraffe(App.createApplicationWithMarketDataAndProbe repository marketData navDateProbe)
app.Run()
0