Fix SyntheticEditorVM2 misnomers

This commit is contained in:
John Colvin committed 2017-09-19 14:23:26 -04:00
1 parent ade4832c63
commit b3c5bb16b3
2 files changed
+6 -6

No files matched your search

@@ -64,14 +64,14 @@ namespace mbts.spark
public override void set_value(LegSpreaderParamsTuple leg_tup, uint value) { leg_tup.leg_params.QuoteParams.QuoteMaxOrderMove.MaxOrderMoveThreshold = value; }
}
internal class QuoteMuteZoneInsideTicksRoleModel : ParameterBase<uint> {
internal class QuoteMuteZoneInsideTicksRowModel : ParameterBase<uint> {
public override string display_name { get; } = "Inside Ticks";
public override string[] section_path { get; } = new[] { SectionNames.Quote, SubsectionNames.Mute };
public override uint get_value(LegSpreaderParamsTuple leg_tup) { return leg_tup.leg_params.QuoteParams.QuoteMuteZone.InsideTicks; }
public override void set_value(LegSpreaderParamsTuple leg_tup, uint value) { leg_tup.leg_params.QuoteParams.QuoteMuteZone.InsideTicks = value; }
}
internal class QuoteMuteZoneOutsideTicksRoleModel : ParameterBase<uint> {
internal class QuoteMuteZoneOutsideTicksRowModel : ParameterBase<uint> {
public override string display_name { get; } = "Outside Ticks";
public override string[] section_path { get; } = new[] { SectionNames.Quote, SubsectionNames.Mute };
public override uint get_value(LegSpreaderParamsTuple leg_tup) { return leg_tup.leg_params.QuoteParams.QuoteMuteZone.OutsideTicks; }
@@ -115,7 +115,7 @@ namespace mbts.spark
public override void set_value(LegSpreaderParamsTuple leg_tup, uint value) { leg_tup.leg_params.PreHedgeParams.QuantityBasedPaylessTicks.PaylessTicks = value; }
}
internal class MaxTicksInsideMarket : ParameterBase<uint> {
internal class MaxTicksInsideMarketRowModel : ParameterBase<uint> {
public override string display_name { get; } = "Max Inside Ticks";
public override string[] section_path { get; } = new[] { SectionNames.PreHedge };
public override uint get_value(LegSpreaderParamsTuple leg_tup) { return leg_tup.leg_params.PreHedgeParams.MaxPriceFromInsideMarket.HedgeTickLimit; }
@@ -27,15 +27,15 @@ namespace mbts.spark
new PriceMultiplierRowModel(),
new IsQuoteRowModel(),
new MaxOrderMoveRowModel(),
new QuoteMuteZoneInsideTicksRoleModel(),
new QuoteMuteZoneOutsideTicksRoleModel(),
new QuoteMuteZoneInsideTicksRowModel(),
new QuoteMuteZoneOutsideTicksRowModel(),
new QuoteInsideMarketDistanceTicksRowModel(),
new QuoteInsideMarketDistanceWithTravelTicksRowModel(),
new QuoteInsideMarketDistanceWithTravelLimitRowModel(),
new PayupRowModel(),
new PaylessRowModel(),
new LeanRatioRowModel(),
new MaxTicksInsideMarket(),
new MaxTicksInsideMarketRowModel(),
new SendHedgeAsMarketOrderRowModel(),
};
commit = new DelegateCommand(() => new SyntheticEditorModel(bus).save(_synthetic, strategy));