- ago
Hi, when trying to put a strategy into "Strategy Monitor", I get this error. It seemed to appear after installing the Kucoin package, but I am not sure whether it's related or not. I also have Binance addon installed.

https://gyazo.com/7ac035034e02ee0aac7606783fa26612 - GIF of what happens

"System.IO.FileNotFoundException: Could not load file or assembly 'CryptoExchange.Net, Version=5.4.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'CryptoExchange.Net, Version=5.4.2.0, Culture=neutral, PublicKeyToken=null'
at WealthLab.Binance.BinanceBroker.Connect()
at WealthLab.Backtest.BrokerBase.ConnectBroker()
at WealthLab8.StrategyMonitorSettingsWindow.ReadProducer()
at WealthLab8.StrategyMonitorSettingsWindow.CalculateProducer(Object def, SelectionChangedEventArgs visitor)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.ComboBox.OnSelectionChanged(SelectionChangedEventArgs e)
at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.Controls.Primitives.Selector.set_SelectedItem(Object value)
at WealthLab.WPF.BrokerComboBox.set_SelectedBroker(BrokerBase value)
at WealthLab8.StrategyMonitorSettingsWindow.PopulateUI()
at WealthLab8.StrategyMonitorSettingsWindow.RestartProducer()
at WealthLab8.StrategyMonitorSettingsWindow..ctor(Strategy strategy, cwStrategyMonitor smWindow)
at WealthLab8.cwStrategyMonitor.AddStrategy(Strategy s)
at WealthLab8.cwStrategyMonitor.ChangeSingleton(Object v, DragEventArgs cust)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.OleDropTarget.RaiseDragEvent(RoutedEvent dragEvent, Int32 dragDropKeyStates, Int32& effects, DependencyObject target, Point targetPoint)
at System.Windows.OleDropTarget.MS.Win32.UnsafeNativeMethods.IOleDropTarget.OleDrop(Object data, Int32 dragDropKeyStates, Int64 point, Int32& effects)
at MS.Win32.UnsafeNativeMethods.DoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[] finalEffect)
at System.Windows.OleServicesContext.OleDoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[] finalEffect)
at System.Windows.DragDrop.OleDoDragDrop(DependencyObject dragSource, DataObject dataObject, DragDropEffects allowedEffects)
at System.Windows.DragDrop.DoDragDrop(DependencyObject dragSource, Object data, DragDropEffects allowedEffects)
at WealthLab8.pnlNavStrategies.DestroySerializer(Object i, TreeViewItemEventArgs result)
at WealthLab.WPF.TreeViewEx.OnMouseMove(MouseEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
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.Input.InputManager.ProcessStagingArea()
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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)"
0
346
Solved
2 Replies

Reply

Bookmark

Sort
- ago
#1
Please update the Binance extension to B22.

The thing is, the KuCoin extension depends on a previous build of CryptoExchange.Net (5.4.1) so installing it has broken Binance. We need to get this fixed in a new build of KuCoin.

Hint: You can attach an animated GIF straight to your posts. Simply click "Image" and upload. Voila. Please avoid external image hosters whenever possible. Thanks.
1
Best Answer
- ago
#2
thank you for information :)

I already have Binance build 22, which I have updated to that version before I installed the KuCoin extension.

Edit: oh, you mean reinstall. Yes, that seems to have worked. Thank you.
1

Reply

Bookmark

Sort