- ago
Hi, I have the following problem

Start WL8 - Connect WL8 with IB - Connection on WL8 and TWS ok.

Make a backtest with a strategy - Mark all signals

Press the button "Stage Orders" - WL8 crashes.

Greetings
Hans
0
536
Solved
12 Replies

Reply

Bookmark

Sort
- ago
#1
Hi,

What build of IB provider are you using?
What are the symbols (any, specific)?
Does this happen with any strategy or just this particular one?
What kind of orders (any, specific)?

In other words, having at least some details is necessary for troubleshooting the issue. Thanks.
0
- ago
#2
And since IB + non-US regional settings (?) are a clue, please run code in Post #9 and paste the contents of the Debug Log:

https://www.wealth-lab.com/Discussion/IB-provider-crashes-WL-with-FormatException-9710
0
- ago
#3
IB-Build 10.22.1
DOW30, S&P 100,
happens with all tried strategies (5),
MOO Order
Strategie - Building Blocks


0
- ago
#4
I would like to mention that I am trying out automatic trading on a paper trading account from IB.
0
- ago
#5
I have now tried everything I could, but the program just crashes.
I mark the signals - press the Stage Order button - and the program crashes within a short time.

As a short info, I just announce that I am already on the verge of despair.

I have also tried the process with the live account.

Furthermore, I have looked at the link offered, but there I also did not get further.

I also do not have the debug log tab
0
- ago
#6
QUOTE:
I also do not have the debug log tab

Once you run the code, the debug log tab will appear.

What IB extension's build are you running?
0
- ago
#7
IB extension´s build 27
0
Cone8
 ( 5.57% )
- ago
#8
Please run this script and paste the contents of the Debug Log here.

CODE:
using WealthLab.Backtest; using System; using WealthLab.Core; namespace WealthScript4 { public class MyStrategy : UserStrategyBase { public override void Initialize(BarHistory bars) {          double d = 123456789.1234;          WriteToDebugLog(String.Format("{0:C}", d)); } public override void Execute(BarHistory bars, int idx) { } } }
0
- ago
#9
I have now done this and the "Debug Log" is now available.
What would be the further procedure or what has been corrected now.
0
Cone8
 ( 5.57% )
- ago
#10
okay, this an IBAPI parsing problem. You can see it in the exception message. The problem occurs when accessing data for symbols whose price is greater than 1,000, but the client machine uses a space as a separator.

The only thing you can do is:
1. Change your machine settings to use a comma or period as the grouping separator.
= OR =
2. until IB fixes it (if they're even aware of it) avoid accessing symbols whose price is greater than 1,000... and complain about it to IB.
0
Best Answer
- ago
#11
First of all, thank you for your information and recognition of the problem.

I have one more request, where and how can I change the setting for the comma or period.

Thank you very much.
0
- ago
#12
I have already made the settings.
Everything works as it should.

Thanks again.

0

Reply

Bookmark

Sort