/// <summary> /// Shows the strategy form for live trading. /// Not entirely finished /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnStrategy_Click(object sender, EventArgs e) { using (var f = new BackTestingForm()) { if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) { _strategy = f.TradingStrategy; } } }
private void btnBackTesting_Click(object sender, EventArgs e) { var asf = new BackTestingForm(true); asf.Show(); }