Ошибка при подключении к Quik
Доброго времени суток!
При компиляции кода:
Код
using System.Text;
using System.Windows;
using StockSharp.Quik;
using StockSharp.BusinessEntities;
using Ecng.Xaml;
namespace QuikStockSharp
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private QuikTrader _trader;
private void button1_Click(object sender, RoutedEventArgs e)
{
_trader = new QuikTrader(QuikTerminal.GetDefaultPath());
_trader.Connected += () => _trader.StartExport();
_trader.Connect();
}
}
}
выдает ошибки
Error 1 The type 'StockSharp.Logging.ILogSource' is defined in an assembly that is not referenced. You must add a reference to assembly 'StockSharp.Logging, Version=4.1.5.0, Culture=neutral, PublicKeyToken=null'. D:\Рабочая\FOREX&Trade\Stock#\QuikStockSharp\QuikStockSharp\MainWindow.xaml.cs 23 28 QuikStockSharp
Error 2 The type 'StockSharp.Logging.ILogReceiver' is defined in an assembly that is not referenced. You must add a reference to assembly 'StockSharp.Logging, Version=4.1.5.0, Culture=neutral, PublicKeyToken=null'. D:\Рабочая\FOREX&Trade\Stock#\QuikStockSharp\QuikStockSharp\MainWindow.xaml.cs 23 28 QuikStockSharp
Error 3 The type 'Ecng.Serialization.IPersistable' is defined in an assembly that is not referenced. You must add a reference to assembly 'Ecng.Serialization, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. D:\Рабочая\FOREX&Trade\Stock#\QuikStockSharp\QuikStockSharp\MainWindow.xaml.cs 23 28 QuikStockSharp
Error 4 The type 'StockSharp.Logging.BaseLogReceiver`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'StockSharp.Logging, Version=4.1.5.0, Culture=neutral, PublicKeyToken=null'. D:\Рабочая\FOREX&Trade\Stock#\QuikStockSharp\QuikStockSharp\MainWindow.xaml.cs 23 28 QuikStockSharp