|
1 | 1 | <UserControl x:Class="VisualHFT.AnalyticReports.View.ucChartsStatistics" |
2 | 2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | | - xmlns:contrib="http://oxyplot.org/wpf/contrib" |
4 | 3 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
5 | 4 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
6 | 5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
26 | 25 | <ColumnDefinition Width="*" SharedSizeGroup="A"/> |
27 | 26 | </Grid.ColumnDefinitions> |
28 | 27 | <!--Trade Duration (Qty trades by holding period)--> |
29 | | - <contrib:Plot x:Name="chart1" Title="Trade Duration (Qty trades by holding period)" Grid.Column="0" Grid.Row="0" IsEnabled="True" Style="{StaticResource PlotStyle}" Margin="0,0,0,10"> |
| 28 | + <!--<contrib:Plot x:Name="chart1" Title="Trade Duration (Qty trades by holding period)" Grid.Column="0" Grid.Row="0" IsEnabled="True" Style="{StaticResource PlotStyle}" Margin="0,0,0,10"> |
30 | 29 | <contrib:Plot.Resources> |
31 | 30 | <SolidColorBrush x:Key="PlotBackgroundBrush" Color="{DynamicResource PrimaryHueLight}" /> |
32 | 31 | <SolidColorBrush x:Key="PlotTextBrush" Color="{DynamicResource PrimaryHueMid}" /> |
|
47 | 46 | <contrib:BarSeries Title="Wins" ItemsSource="{Binding heldBars}" ValueField="WinPnLCount" Color="Green"/> |
48 | 47 | <contrib:BarSeries Title="Losses" ItemsSource="{Binding heldBars}" ValueField="LossPnlCount" Color="Red"/> |
49 | 48 | </contrib:Plot.Series> |
50 | | - </contrib:Plot> |
| 49 | + </contrib:Plot>--> |
51 | 50 | <!--Trade Duration (PnL by holding period)--> |
52 | | - <contrib:Plot x:Name="chart2" Title="Trade Duration (PnL by holding period)" Grid.Column="1" Grid.Row="0" IsEnabled="True" Style="{StaticResource PlotStyle}" Margin="0,0,0,10"> |
| 51 | + <!--<contrib:Plot x:Name="chart2" Title="Trade Duration (PnL by holding period)" Grid.Column="1" Grid.Row="0" IsEnabled="True" Style="{StaticResource PlotStyle}" Margin="0,0,0,10"> |
53 | 52 | <contrib:Plot.Resources> |
54 | 53 | <SolidColorBrush x:Key="PlotBackgroundBrush" Color="{DynamicResource PrimaryHueLight}" /> |
55 | 54 | <SolidColorBrush x:Key="PlotTextBrush" Color="{DynamicResource PrimaryHueMid}" /> |
|
70 | 69 | <contrib:BarSeries Title="Wins" ItemsSource="{Binding heldBars}" ValueField="TotalWinPnL" Color="Green"/> |
71 | 70 | <contrib:BarSeries Title="Losses" ItemsSource="{Binding heldBars}" ValueField="TotalLossPnl" Color="Red"/> |
72 | 71 | </contrib:Plot.Series> |
73 | | - </contrib:Plot> |
| 72 | + </contrib:Plot>--> |
74 | 73 | <!--Top 20 Symbols (by PL)--> |
75 | | - <contrib:Plot x:Name="chart3" Title="Top 20 Symbols (by PL)" Grid.Column="0" Grid.Row="1" IsEnabled="True" Style="{StaticResource PlotStyle}" Margin="0,0,0,10"> |
| 74 | + <!--<contrib:Plot x:Name="chart3" Title="Top 20 Symbols (by PL)" Grid.Column="0" Grid.Row="1" IsEnabled="True" Style="{StaticResource PlotStyle}" Margin="0,0,0,10"> |
76 | 75 | <contrib:Plot.Resources> |
77 | 76 | <SolidColorBrush x:Key="PlotBackgroundBrush" Color="{DynamicResource PrimaryHueLight}" /> |
78 | 77 | <SolidColorBrush x:Key="PlotTextBrush" Color="{DynamicResource PrimaryHueMid}" /> |
|
93 | 92 | <contrib:BarSeries Title="Wins" ItemsSource="{Binding Top20}" ValueField="WinsPnL" Color="Green"/> |
94 | 93 | <contrib:BarSeries Title="Losses" ItemsSource="{Binding Top20}" ValueField="LossesPnL" Color="Red"/> |
95 | 94 | </contrib:Plot.Series> |
96 | | - </contrib:Plot> |
| 95 | + </contrib:Plot>--> |
97 | 96 | <!--PL Ranges--> |
98 | | - <contrib:Plot x:Name="chart4" Title="PL Ranges" Grid.Column="1" Grid.Row="1" IsEnabled="True" Style="{StaticResource PlotStyle}" Margin="0,0,0,10"> |
| 97 | + <!--<contrib:Plot x:Name="chart4" Title="PL Ranges" Grid.Column="1" Grid.Row="1" IsEnabled="True" Style="{StaticResource PlotStyle}" Margin="0,0,0,10"> |
99 | 98 | <contrib:Plot.Resources> |
100 | 99 | <SolidColorBrush x:Key="PlotBackgroundBrush" Color="{DynamicResource PrimaryHueLight}" /> |
101 | 100 | <SolidColorBrush x:Key="PlotTextBrush" Color="{DynamicResource PrimaryHueMid}" /> |
|
115 | 114 | <contrib:Plot.Series> |
116 | 115 | <contrib:BarSeries Title="Qty Trades" ItemsSource="{Binding ListPLRanges}" ValueField="Qty" Color="Blue"/> |
117 | 116 | </contrib:Plot.Series> |
118 | | - </contrib:Plot> |
| 117 | + </contrib:Plot>--> |
119 | 118 | <!--PL Range($) vs Duration--> |
120 | | - <contrib:Plot x:Name="chart5" Title="PL Range($) vs Duration" Grid.ColumnSpan="2" Grid.Row="2" IsEnabled="True" Margin="0,0,0,10"> |
| 119 | + <!--<contrib:Plot x:Name="chart5" Title="PL Range($) vs Duration" Grid.ColumnSpan="2" Grid.Row="2" IsEnabled="True" Margin="0,0,0,10"> |
121 | 120 | <contrib:Plot.Resources> |
122 | 121 | <SolidColorBrush x:Key="PlotBackgroundBrush" Color="{DynamicResource PrimaryHueLight}" /> |
123 | 122 | <SolidColorBrush x:Key="PlotTextBrush" Color="{DynamicResource PrimaryHueMid}" /> |
|
138 | 137 | <contrib:ScatterSeries ItemsSource="{Binding PLRangeDuration}" DataFieldX="Duration" DataFieldY="PLRange" MarkerType="Circle" MarkerSize="2"/> |
139 | 138 | <contrib:LineSeries Title="Regression" ItemsSource="{Binding regressionLineData}" DataFieldX="X" DataFieldY="Y" Color="Blue"/> |
140 | 139 | </contrib:Plot.Series> |
141 | | - </contrib:Plot> |
| 140 | + </contrib:Plot>--> |
142 | 141 | <!--Maximum Adverse Excursion (MAE)--> |
143 | | - <contrib:Plot x:Name="chart6" Title="Maximum Adverse Excursion (MAE)" Grid.Column="0" Grid.Row="3" IsEnabled="True" Margin="0,0,0,10"> |
| 142 | + <!--<contrib:Plot x:Name="chart6" Title="Maximum Adverse Excursion (MAE)" Grid.Column="0" Grid.Row="3" IsEnabled="True" Margin="0,0,0,10"> |
144 | 143 | <contrib:Plot.Resources> |
145 | 144 | <SolidColorBrush x:Key="PlotBackgroundBrush" Color="{DynamicResource PrimaryHueLight}" /> |
146 | 145 | <SolidColorBrush x:Key="PlotTextBrush" Color="{DynamicResource PrimaryHueMid}" /> |
|
161 | 160 | <contrib:ScatterSeries ItemsSource="{Binding MAE}" DataFieldX="XValue" DataFieldY="YValue" MarkerType="Circle" MarkerSize="2"/> |
162 | 161 | <contrib:LineSeries Title="Regression" ItemsSource="{Binding regressionLineDataMAE}" DataFieldX="X" DataFieldY="Y" Color="Blue"/> |
163 | 162 | </contrib:Plot.Series> |
164 | | - </contrib:Plot> |
| 163 | + </contrib:Plot>--> |
165 | 164 | <!--Maximum Favorable Excursion (MFE)--> |
166 | | - <contrib:Plot x:Name="chart7" Title="Maximum Favorable Excursion (MFE)" Grid.Column="1" Grid.Row="3" IsEnabled="True" Margin="0,0,0,10"> |
| 165 | + <!--<contrib:Plot x:Name="chart7" Title="Maximum Favorable Excursion (MFE)" Grid.Column="1" Grid.Row="3" IsEnabled="True" Margin="0,0,0,10"> |
167 | 166 | <contrib:Plot.Resources> |
168 | 167 | <SolidColorBrush x:Key="PlotBackgroundBrush" Color="{DynamicResource PrimaryHueLight}" /> |
169 | 168 | <SolidColorBrush x:Key="PlotTextBrush" Color="{DynamicResource PrimaryHueMid}" /> |
|
184 | 183 | <contrib:ScatterSeries ItemsSource="{Binding MFE}" DataFieldX="XValue" DataFieldY="YValue" MarkerType="Circle" MarkerSize="2"/> |
185 | 184 | <contrib:LineSeries Title="Regression" ItemsSource="{Binding regressionLineDataMFE}" DataFieldX="X" DataFieldY="Y" Color="Blue"/> |
186 | 185 | </contrib:Plot.Series> |
187 | | - </contrib:Plot> |
| 186 | + </contrib:Plot>--> |
188 | 187 | </Grid> |
189 | 188 | </UserControl> |
0 commit comments