From 4b4eb66ef01818bb577f788713c6be3e28bbb81f Mon Sep 17 00:00:00 2001 From: John Colvin Date: Mon, 2 Dec 2019 17:45:01 -0600 Subject: [PATCH] SP-271 Synthetic cloning --- .../Spreader/ExecutionStrategyEditor.xaml | 96 +++++++++++++++++-- .../Spreader/ExecutionStrategyEditor.xaml.cs | 18 ++-- .../Spreader/LegSpreaderParamsTuple.cs | 45 ++++++++- ...teMarketVolumeBasedCrossCrossTicksModel.cs | 6 +- ...iteMarketVolumeBasedCrossThresholdModel.cs | 6 +- ...ostHedgePriceBasedCrossMarketTicksModel.cs | 6 +- .../PostHedgePriceBasedCrossTicksModel.cs | 6 +- ...PostHedgeTimeBasedCrossMarketTicksModel.cs | 6 +- .../PostHedgeTimeBasedCrossTimeModel.cs | 6 +- .../Payless/PreHedgePaylessThresholdModel.cs | 6 +- .../Payless/PreHedgePaylessTicksModel.cs | 6 +- .../Payup/PreHedgePayupThresholdModel.cs | 6 +- .../PreHedge/Payup/PreHedgePayupTicksModel.cs | 6 +- .../ConditionalQuotingPriceTypeModel.cs | 6 +- .../ConditionalQuotingTicksModel.cs | 6 +- .../Quote/Hidden/QuoteHiddenModel.cs | 6 +- .../QuoteInsideMarketDistanceTowardModel.cs | 6 +- .../QuoteInsideMarketThrottleMinMove.cs | 6 +- .../QuoteInsideMarketThrottleTicksModel.cs | 6 +- .../Quote/QuoteQueueHolderModel.cs | 6 +- .../ShowQuantity/ShowQuantityQuantityModel.cs | 6 +- .../Throttle/QuoteThrottleInsideTicksModel.cs | 6 +- .../QuoteThrottleOutsideTicksModel.cs | 6 +- .../Spreader/VM/ParameterRows/RowModel.cs | 12 +-- src/client/spark/Modules/Spreader/VM/RowVM.cs | 30 +++--- .../Modules/Spreader/VM/SyntheticEditorVM.cs | 12 ++- .../view/Controls/Popup/PopupControl.xaml.cs | 13 +++ .../ContractPicker/ContractPickerModel.cs | 10 +- 28 files changed, 253 insertions(+), 103 deletions(-) diff --git a/src/client/spark/Modules/Spreader/ExecutionStrategyEditor.xaml b/src/client/spark/Modules/Spreader/ExecutionStrategyEditor.xaml index 9c4ef4b5b..279395d27 100644 --- a/src/client/spark/Modules/Spreader/ExecutionStrategyEditor.xaml +++ b/src/client/spark/Modules/Spreader/ExecutionStrategyEditor.xaml @@ -140,7 +140,7 @@ - + @@ -333,13 +333,61 @@ + + + - + @@ -356,13 +404,39 @@