SPARK-1116
This commit is contained in:
1 parent
56497df68a
commit
b908c576ba
3 files changed
+1
-6
No files matched your search
@@ -16,7 +16,7 @@ module ProductScope =
|
||||
|
||||
let positionColumn name =
|
||||
[ Key (sprintf "max%sPosition" name)
|
||||
Name (sprintf "Max %s Position" name)
|
||||
Name (sprintf "Max Net %s Position" name)
|
||||
Editable true ]
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ let columns = [|
|
||||
[ Key "symbol"; Name "Symbol"; Editable true ]
|
||||
positionColumn "Long"
|
||||
positionColumn "Short"
|
||||
positionColumn "Net"
|
||||
|]
|
||||
|
||||
[<Pojo>]
|
||||
|
||||
@@ -12,7 +12,6 @@ let columns = [|
|
||||
[ Key "symbol"; Name "Symbol"; Editable true]
|
||||
positionColumn "Long"
|
||||
positionColumn "Short"
|
||||
positionColumn "Net"
|
||||
|]
|
||||
|
||||
[<Pojo>]
|
||||
|
||||
@@ -18,9 +18,6 @@ let init (context:ServiceContext.ServiceContext) =
|
||||
scratch = emptyAccount
|
||||
}, Access.getAdminData admin UpdateAdminData NoAdminData
|
||||
|
||||
//
|
||||
// existingSelection is here 3 times as it might be instructive
|
||||
|
||||
let existingSelection (scratch:BTSAccount) (data:AdminData) =
|
||||
List.choose id [
|
||||
data.accounts |> Array.tryFind (fun a -> a.name = scratch.name)
|
||||
|
||||
Reference in new issue
Block a user