- ago
I am getting the following error message whenever it's triggered a new entry:

System.NullReferenceException: Object reference not set to an instance of an object.
at (Object )
at †††
†††ˆ‡˜.†††
†††‡–Ž(Object , †††
†††ˆ‡˜ )
at WealthLab.InteractiveBrokers.IBConnection.†††
††††‡(Contract )
at WealthLab.InteractiveBrokers.IBBroker.GetSymbolDecimals(String symbol, Double price)
at WealthLab.Backtest.Transaction.GetExporter(Object , Object , Double price)
at WealthLab.Backtest.Transaction.get_OrderPriceDecimals()
at WealthLab.Backtest.Transaction.get_PriceFormatCode()
at WealthLab.Backtest.Transaction.get_OrderPriceDisplay()
at WealthLab.Backtest.Transaction.get_Description()
at WealthLab.Backtest.Transaction.ToString()
at System.Windows.Automation.Peers.FrameworkElementAutomationPeer.GetNameCore()
at System.Windows.Automation.Peers.AutomationPeer.GetName()
at System.Windows.Automation.Peers.ItemAutomationPeer.GetNameCore()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayoutManager.fireAutomationEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.Controls.VirtualizingStackPanel.<>c__DisplayClass94_0.<InitializeViewport>b__0()
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
651
4 Replies

Reply

Bookmark

Sort
Cone8
 ( 6.29% )
- ago
#1
Sorry about this.
What symbol?
0
- ago
#2
I emailed you the file

I think it's too many decimals - but I am getting back all this decimals from the SMAC Optimizer

It's all symbols
0
Cone8
 ( 6.29% )
- ago
#3
The good news is that it will work if you use IB symbols.

The bad news is that we'll need a WL Build 24 to fix the problem to map symbols before calling GetSymbolDecimals. We'll also do a IB Build 23 to make sure that ugly error doesn't occur when a unrecognizable symbol is passed.
0
- ago
#4
IB 21 is working fine for this issue

Now I will waiting for WL Build 24 for full recovery
1

Reply

Bookmark

Sort