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/App.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/App.fs')
| -rw-r--r-- | src/FundLab.Api/App.fs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/FundLab.Api/App.fs b/src/FundLab.Api/App.fs index d515ca6..a77fdf5 100644 --- a/src/FundLab.Api/App.fs +++ b/src/FundLab.Api/App.fs @@ -591,6 +591,9 @@ type StockQuoteApiResponse = name: string option price: string option currency: string + market: string option + adjust: string option + suspended: bool option } type StockDailyObservationApiResponse = @@ -2291,7 +2294,10 @@ module App = ({ code = quote.Code name = quote.Name price = quote.Price |> Option.map decimalText - currency = quote.Currency } + currency = quote.Currency + market = quote.Market + adjust = quote.Adjust + suspended = quote.Suspended } : StockQuoteApiResponse) next ctx |
