SPARK-1581: Limits can now be set twice

This commit is contained in:
Michael Harding committed 2018-08-23 14:42:55 -04:00
1 parent 1b1da9c4e5
commit c012a63e86
1 file changed
+1 -3
+1 -3
View File
@@ -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