summaryrefslogtreecommitdiff
path: root/src/FundLab.Api/StockQuoteProbe.fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/FundLab.Api/StockQuoteProbe.fs')
-rw-r--r--src/FundLab.Api/StockQuoteProbe.fs9
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