SPARK-1581: Limits can now be set twice
This commit is contained in:
1 parent
1b1da9c4e5
commit
c012a63e86
1 file changed
+1
-3
@@ -72,9 +72,7 @@ let GetFilteredSymbolArray (model:Model) (remove:string []) =
|
||||
let a = (Array.map<bts.api.Product, string> (fun a -> a.symbol ) model.mdRelayProductData
|
||||
|> Array.filter (fun elm -> (not <| Array.exists (fun e -> elm = e) remove))
|
||||
|> Array.distinct)
|
||||
match a.Length with
|
||||
| 0 -> a
|
||||
| _ -> [ [|model.AllValueDisplay|]; a ] |> Array.concat
|
||||
[ [|model.AllValueDisplay|]; a ] |> Array.concat
|
||||
|
||||
let limitFilter (positionLimit:AccountSecurityPositionLimitUnit option) (clipLimit:AccountSecurityClipLimitUnit option) allValueDisplay (array:'a []) =
|
||||
match positionLimit, clipLimit with
|
||||
|
||||
Reference in new issue
Block a user