using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; using StockSharp.Quik; using StockSharp.Algo; using StockSharp.BusinessEntities; using StockSharp.Localization; using StockSharp.Logging; using StockSharp.Messages; using MoreLinq; using Ecng.Common; using Ecng.Xaml; using Ecng.ComponentModel; using System.Security; using System.Net; namespace WpfApplication4 { /// /// Логика взаимодействия для MainWindow.xaml /// public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } QuikTrader connect; private readonly LogManager logger = new LogManager(); private void button_Click(object sender, RoutedEventArgs e) { connect = new QuikTrader() { LuaLogin = "quik", LuaPassword = "quik".To(), LuaFixServerAddress = "127.0.0.1:5001".To() }; var Listen = new FileLogListener("log.txt"); logger.Listeners.Add(Listen); logger.Sources.Add(connect); } } } ошибки: