summaryrefslogtreecommitdiff
path: root/tests/FundLab.Api.Tests/StockSellTests.fs
diff options
context:
space:
mode:
authorSomhairle H. Marisol <[email protected]>2026-09-22 08:58:52 +0800
committerSomhairle H. Marisol <[email protected]>2026-09-22 08:58:52 +0800
commit72f466b9b3ea6ece726e6b182cfc36bbd3f6fa15 (patch)
tree8d1bf9285314eb37ce47525e4d0c052fcdf08ca8 /tests/FundLab.Api.Tests/StockSellTests.fs
parentd4b0c26b396bfcf1be029d8db3a1c0fc033a6765 (diff)
downloadfund-lab-72f466b9b3ea6ece726e6b182cfc36bbd3f6fa15.tar.gz
Add stock probe market/adjust/suspension fields and StockRules (3d-30 B1-B2)
Diffstat (limited to 'tests/FundLab.Api.Tests/StockSellTests.fs')
-rw-r--r--tests/FundLab.Api.Tests/StockSellTests.fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FundLab.Api.Tests/StockSellTests.fs b/tests/FundLab.Api.Tests/StockSellTests.fs
index cbdef8b..972293a 100644
--- a/tests/FundLab.Api.Tests/StockSellTests.fs
+++ b/tests/FundLab.Api.Tests/StockSellTests.fs
@@ -6,7 +6,7 @@ open FundLab.Api
module StockSellSupport =
let quote (code: string) (price: decimal) : StockQuote =
- { Code = code; Name = Some "招商银行"; Price = Some price; Currency = "CNY" }
+ { Code = code; Name = Some "招商银行"; Price = Some price; Currency = "CNY"; Market = Some "sh"; Adjust = Some "none"; Suspended = Some false }
let stubQuoteProbe (quotes: Map<string, decimal>) =
{ new IStockQuoteProbe with