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
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
Rename
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.
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.
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
https://www.wealth-lab.com/Discussion/IB-provider-crashes-WL-with-FormatException-9710
IB-Build 10.22.1
DOW30, S&P 100,
happens with all tried strategies (5),
MOO Order
Strategie - Building Blocks
DOW30, S&P 100,
happens with all tried strategies (5),
MOO Order
Strategie - Building Blocks
I would like to mention that I am trying out automatic trading on a paper trading account from IB.
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
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
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?
IB extension´s build 27
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) { } } }
I have now done this and the "Debug Log" is now available.
What would be the further procedure or what has been corrected now.
What would be the further procedure or what has been corrected now.
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.
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.
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.
I have one more request, where and how can I change the setting for the comma or period.
Thank you very much.
I have already made the settings.
Everything works as it should.
Thanks again.
Everything works as it should.
Thanks again.
Your Response
Post
Edit Post
Login is required