diff options
| author | Somhairle H. Marisol <[email protected]> | 2026-09-22 08:58:52 +0800 |
|---|---|---|
| committer | Somhairle H. Marisol <[email protected]> | 2026-09-22 08:58:52 +0800 |
| commit | 72f466b9b3ea6ece726e6b182cfc36bbd3f6fa15 (patch) | |
| tree | 8d1bf9285314eb37ce47525e4d0c052fcdf08ca8 /src/FundLab.Api/StockQuoteProbe.fs | |
| parent | d4b0c26b396bfcf1be029d8db3a1c0fc033a6765 (diff) | |
| download | fund-lab-72f466b9b3ea6ece726e6b182cfc36bbd3f6fa15.tar.gz | |
Add stock probe market/adjust/suspension fields and StockRules (3d-30 B1-B2)
Diffstat (limited to 'src/FundLab.Api/StockQuoteProbe.fs')
| -rw-r--r-- | src/FundLab.Api/StockQuoteProbe.fs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/FundLab.Api/StockQuoteProbe.fs b/src/FundLab.Api/StockQuoteProbe.fs index a41070a..b450e13 100644 --- a/src/FundLab.Api/StockQuoteProbe.fs +++ b/src/FundLab.Api/StockQuoteProbe.fs @@ -12,6 +12,12 @@ type StockQuote = Name: string option Price: decimal option Currency: string + /// Exchange prefix: "sh", "sz" or "bj". + Market: string option + /// Price adjustment flag: "none", "qfq" or "hfq". + Adjust: string option + /// True when the venue reports no trades for the session. + Suspended: bool option } /// Read-only probe that returns the current quote for a stock code. @@ -55,6 +61,9 @@ type AkshareStockQuoteProbe(collector: IMarketDataCollector) = Name = payload.Name Price = payload.Price Currency = payload.Currency + Market = payload.Market + Adjust = payload.Adjust + Suspended = payload.Suspended } cache.[normalized] <- quote |
