Ошибка при открытии студии
Atom
04.07.2013
Andrii


При запуске студии появляется окошко с выбором разрядности, выбираю 32 и виснет
в документах S#.Studio.txt:
Код
20:07:27.336|Error  |S#.Studio |System.ArgumentException: Type StockSharp.IQFeed.IQFeedTrader, StockSharp.IQFeed doesn't exists.
Имя параметра: value
   в Ecng.Common.Converter.To(Object value, Type destinationType)
   в Ecng.Common.Converter.To[T](Object value)
   в StockSharp.Studio.AppConfig..ctor()

Теги:


Спасибо:


Marik

Фотография
Дата: 11.07.2013
Ответить


При запуске стратегии на тестирование падает ексепшин (Win7 32x) и тестирование останавливается:

Код

14:44:24.888|Error  |S#.Studio |System.ArgumentException: Type StockSharp.IQFeed.IQFeedTrader, StockSharp.IQFeed doesn't exists.
Parameter name: value
   at Ecng.Common.Converter.To(Object value, Type destinationType)
   at Ecng.Common.Converter.To[T](Object value)
   at StockSharp.Studio.AppConfig..ctor()
14:45:54.671|Error  |S#.Studio |System.NullReferenceException: Object reference not set to an instance of an object.
   at StockSharp.Studio.Database.StudioEntityRegistry.StrategyInfoList.<>c__DisplayClass47.<Init>b__43(Strategy s)
   at Ecng.Common.DelegateHelper.SafeInvoke[T](Action`1 handler, T arg)
   at Ecng.Collections.BaseCollection`2.OnAdded(TItem item)
   at Ecng.Collections.BaseCollection`2.Add(TItem item)
   at Ecng.Collections.SynchronizedCollection`2.Add(TItem item)
   at StockSharp.Studio.StrategyService.CreateEmulationSession()
   at StockSharp.Studio.StrategyService.OnEmulationStarting()
   at StockSharp.Studio.StrategyService.OnEmuStateChanged(EmulationStates oldState, EmulationStates newState)
   at System.Action`2.Invoke(T1 arg1, T2 arg2)
   at Ecng.Common.DelegateHelper.SafeInvoke[T1,T2](Action`2 handler, T1 arg1, T2 arg2)
   at StockSharp.Algo.Testing.EmulationTrader.Start(DateTime startDate, DateTime stopDate)
   at StockSharp.Xaml.EmulationControlPanel.Start_Click(Object sender, RoutedEventArgs e)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Спасибо:

tenLemons

Фотография
Дата: 19.07.2013
Ответить


Можно ли пользоваться библиотекой без студии или все настолько переплетено в классах, что не получится?
А то глючит как в предыдущих постах и непонятно не правильно пытаюсь или что-то не работает. Руководство пользователя две странички с картинками.
Спасибо:


Добавить файлы через драг-н-дроп, , или вставить из буфера обмена.

loading
clippy