diff --git a/src/client/spark/mspark/Shell/Securities/Synthetic2/SyntheticEditor2.xaml.cs b/src/client/spark/mspark/Shell/Securities/Synthetic2/SyntheticEditor2.xaml.cs index ce6456fba..a59c402f4 100644 --- a/src/client/spark/mspark/Shell/Securities/Synthetic2/SyntheticEditor2.xaml.cs +++ b/src/client/spark/mspark/Shell/Securities/Synthetic2/SyntheticEditor2.xaml.cs @@ -1,7 +1,6 @@ using bts.api; using mbts.ui.controls; using System; -using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; @@ -45,7 +44,8 @@ namespace mbts.ui.spark #endregion #region ParameterRows - public static readonly DependencyProperty ParameterRowsProperty = DependencyProperty.Register("ParameterRows", typeof(IEnumerable), typeof(SyntheticEditor2), new PropertyMetadata(Enumerable.Empty(), OnParameterRowsChanged)); + public static readonly DependencyProperty ParameterRowsProperty = DependencyProperty.Register("ParameterRows", typeof(IEnumerable), typeof(SyntheticEditor2), + new PropertyMetadata(Enumerable.Empty(), OnParameterRowsChanged)); private static void OnParameterRowsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { var rows = e.NewValue as IEnumerable; if (rows != null) { diff --git a/src/client/spark/mspark/Shell/Securities/Synthetic2/VM/SyntheticEditorVM2.cs b/src/client/spark/mspark/Shell/Securities/Synthetic2/VM/SyntheticEditorVM2.cs index f73eef2c5..097bf3344 100644 --- a/src/client/spark/mspark/Shell/Securities/Synthetic2/VM/SyntheticEditorVM2.cs +++ b/src/client/spark/mspark/Shell/Securities/Synthetic2/VM/SyntheticEditorVM2.cs @@ -35,12 +35,12 @@ namespace mbts.spark new QuoteInsideMarketDistanceWithTravelLimitModel(), new LeanRatioModel(), new MaxTicksInsideMarketModel(), - payup.is_ratio_model, - payup.threshold_model, - payup.is_ratio_model, payless.is_ratio_model, payless.threshold_model, payless.ticks_model, + payup.is_ratio_model, + payup.threshold_model, + payup.ticks_model, new SendHedgeAsMarketOrderModel(), new PostHedgePriceBasedCrossTicks(), new PostHedgePriceBasedCrossMarketTicks(),