Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 02:06:39 +0000



Problems with Stop Orders when trading Euro Futures

View Count: 2908

[2013-10-01 17:48:59]
User30668 - Posts: 108
Hello SC Support,

Today I traded Euro Futures (6E) with SC for the first time and I encountered a problem with the Stop Orders.

So, when I place a parent entry order I can see both child stop and target orders pending in the Trade Dom and charts, as normal.

However, the moment the parent order is filled, the stop order disappears from the Trade Dom and from the charts.

I can still see the order pending on IB TWS and I can manage or cancel it from TWS. When I scale out using the SC Trade Dom I get this pop up message from TWS:

“The price 0.00 does not conform the minimum price variation of 0.0001 for this contract.”

So I run some tests and I came to the following conclusions:

- The same as described above happens with all parent, child or single orders, as long as they are Stop or Stop-Limit orders;

- When I place an entry Stop (single) or Stop parent order I can see the order in the Trade Dom and in the charts for less than one second and then it disappears;

- I think that it is not a problem caused by TWS as I am able to place this kind orders directly from it with no problems;

- SC is working perfectly with Crude Oil Futures (CL), using the same instance and the same Trade Dom;

- There is no related message on the Message Log nor Trade Log;

- It is working normally in SIM mode, without any problem;

- I can cancel the “non-visible” orders using the Trade Window or from the Orders and Positions window – it shows the order as “open” in the status row;

- The only thing I found that is not normal is in the Orders and Positions window – the Price row shows a value of 0.0000 and the Price 2 row shows the correct order value (i.e. 1.3525). I believe that the problem might be related with this last point as in the Sim mode I can see the complete price in both Price and Price 2 rows.

Unfortunately and despite all my attempts to figure out where the problem is I couldn’t find it.

Your help will be much appreciated.

Thanks in advance.

Date Time Of Last Edit: 2013-10-01 17:52:35
[2013-10-01 20:57:00]
Sierra Chart Engineering - Posts: 104368
The problem with the Stop order disappearing is that Interactive Brokers must be changing the account number of the order. Sierra Chart will disregard account number changes on orders in the latest versions. Update Sierra Chart. Newer versions will solve this problem for you.

The problem with the order prices is clearly going to be an issue on the TWS side. Contact Interactive Brokers technical support about the order prices. They can check your TWS log file.

We did testing using an Interactive Brokers demo account, and did not encounter any issues which means that Sierra Chart is properly interacting with TWS and instead there are some specialized issues you are encountering with your account.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-10-02 16:18:57]
User30668 - Posts: 108
SC Support,

Thank you for your reply.

Unfortunately I regret to inform that I have done everything you suggested but the problem remains the same:

- I upgraded SC to the latest version and now I am running version 1029;

- Nevertheless, the Stop orders are still disappearing from the Trade Dom and from the charts a moment after placed, although they remain visible and active in both SC Orders and Positions window and in TWS window;

- I contacted IB Technical Support as you suggested, they checked and said that they don’t see anything wrong on their side;

- I also confirmed in IB Audit Trail log and all the orders have the correct account number (and I just have one account with IB).

After that I have done some more testing and I found an additional information that I hope will help to fix the problem: the mentioned stop orders just “disappear” when trading Euro Futures and GBP Futures.

When trading any other instruments there is no problem at all (i.e. CL, ES, YM, GC, etc.).

Please see the attached screenshots with some examples of the described problem and examples with another instrument that has no problem.

I am getting desperate with this problem. Please, do your best.

I am praying that with this additional information you can figure out what the problem is.

Thank you for your attention.



Date Time Of Last Edit: 2013-10-04 15:27:05
imageEuro Stop Order.PNG / V - Attached On 2013-10-02 16:18:22 UTC - Size: 82.65 KB - 501 views
imageEuro Stop Limit Order.PNG / V - Attached On 2013-10-02 16:18:33 UTC - Size: 83.67 KB - 672 views
imageES Stop Limit Order.PNG / V - Attached On 2013-10-04 15:25:43 UTC - Size: 82.92 KB - 501 views
imageES Stop Order.PNG / V - Attached On 2013-10-04 15:27:01 UTC - Size: 83.44 KB - 460 views
[2013-10-02 17:12:49]
Sierra Chart Engineering - Posts: 104368
This is very unusual. We do not recall anyone ever having a problem like this before with TWS.

There is a problem with the order prices being sent back from TWS. That is quite clear. We just did a test now on the symbol EUR-201312-GLOBEX using Stop and Stop-Limit orders and did not notice a problem on a demo account with the order prices. They were reported back exactly as being sent.

We need to see your TWS log file. These are usually going to be in the C:\JTS folder. An example file name is log.Wed.txt.


You can attach the file here and set it to be private or send it to support _at_ SIERRA CHART.COM.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2013-10-02 17:16:54
[2013-10-02 17:17:03]
Sierra Chart Engineering - Posts: 104368
The prior post has been updated. We need to look at the log file as explained. Once we can see the incorrect order prices in the file, we can then have you report this over over to Interactive Brokers technical support.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2013-10-02 18:15:30
[2013-10-02 18:06:54]
User30668 - Posts: 108
Thank you very much for your reply.

Following your request to send the TWS log file, and to make it easier for you, I deleted the day file because it was probably full of useless information due to all the testing that I have been doing all day long.

After restarting TWS I placed three Stop orders on Euro Futures to cause the problem and two Stop orders on ES Futures, not causing the problem.

I am now attaching the txt file for you to check it.

Please let me know if you need anything else.

Again, thank you very much for your help.
Date Time Of Last Edit: 2013-10-02 18:08:30
Private File
[2013-10-03 03:29:59]
Sierra Chart Engineering - Posts: 104368
We did not see any order prices in this log file. Clearly there is something wrong with the order prices from the TWS API. We have never heard about this before and Sierra Chart is reading the prices correctly from TWS . Otherwise, every single user would be reporting a problem who is using Interactive Brokers and you would notice a problem with other symbols.

Contact interactive brokers at api@interactivebrokers.com.

Tell them that Sierra Chart is saying that order related messages from the TWS API are providing zeros for Stop and Stop-Limit orders rather than the actual order prices. They will need to see your tws log file. They may ask you to change the debug logging level.


Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-10-03 07:16:46]
Sierra Chart Engineering - Posts: 104368
Before contacting Interactive Brokers, update to the very latest version by selecting Help >> Download Prerelease.

We have been contemplating this and we have made one small change which we think may solve this. If the order type is not properly specified and also the order prices, it could lead to this problem. However, we still do see this as an issue with TWS.


Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-10-03 16:30:42]
User30668 - Posts: 108
Hello SC Support,

I would like to keep you informed how things are developing on this side.

I followed your instructions and upgraded the software for the latest Prerelease version.

Unfortunately the problem remains the same.

Afterwards I contacted directly Interactive Brokers API Support (through phone call in order to better explain the situation), transmitted your message and as you anticipated I was asked to do some operations in TWS and send the log files.

I also sent him the link to this thread for him to better understand all the situation.

I was lucky to have someone very helpful (Xavier) answering my call and after the log was sent he got back to me through email saying that he couldn't find any sign of malfunction and suggesting that I would upgrade TWS for the latest version and see how it would work.

I did install TWS latest version as he suggested but the problem is still there.

Meanwhile, he emailed me again saying that he had submitted a report to IB Technical Operation department and is waiting for their answer.

Thus, I will let you know when I have any further development from IB.

Thanks.

Date Time Of Last Edit: 2013-10-03 16:35:58
[2013-10-04 09:37:56]
Sierra Chart Engineering - Posts: 104368
Another thing we recommend doing is to use an Interactive Brokers demo account:

edemo/demouser

See if you encounter the problem. If not, then this is a good point of reference for interactive brokers to work from.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-10-04 10:00:20]
User30668 - Posts: 108
Hello SC Support,

Thank you for the suggestion.

I just did it (connected to edemo account) and the problem with the Stop Orders happens exactly the same way.

I am very confused with all this.

Do you still think that the problem might be on TWS API side?

I am still waiting for IB to get back to me...
[2013-10-04 10:12:25]
Sierra Chart Engineering - Posts: 104368
We still can only reasonably conclude that it is on the TWS API side. This is for many reasons:

-Sierra Chart for years now has been properly coded to the TWS API protocol and the order messages from the API. From what we can remember, other than this case, we have never known there to be a problem with the processing of order prices from TWS.

-We have done numerous tests and have not seen this problem.

-You do not notice a problem with other symbols.

-We do not have other users reporting a problem.

-If there was some problem with the processing of the IB data messages, it would lead to a serious problem where you would lose the connection to TWS from Sierra Chart.

Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2013-10-04 10:31:06
[2013-10-04 10:32:51]
Sierra Chart Engineering - Posts: 104368

-If you were to ask others on this board to use the demo account or use their own live account and submit orders for the EUR- symbol, there would not be a problem.

Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-10-04 10:42:42]
User30668 - Posts: 108
SC Support,

Thank you for your fast reply.

I would like to add some more information about the testing that I have been doing in my attempts to resolve this problem:

In order to discard any possibility of having something wrong with the installed SC instances, Settings, Chartbooks / Workspaces, etc. yesterday I installed a new instance of Sierra Chart and left it just with all its default settings.

Then I created a new Chartbook with just one Trade Dom, also with its default settings.

And when placing a Stop Order the very same problem is there. Just with Euro Futures and GBP Futures...


[2013-10-04 10:45:10]
Sierra Chart Engineering - Posts: 104368
Could someone else who uses Interactive Brokers confirm if they notice the same problem described in this thread?

Enter a stop order for EUR-201312-GLOBEX from Sierra Chart. Go to Trade >> Trade Orders and Positions >> Orders. Is the order price correct and not zero?
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-10-04 17:46:31]
User30668 - Posts: 108
SC Support,

Just to keep you informed how this process with IB is going:

I have spent almost all day exchanging emails with Xavier from IB and doing several tests trying to figure out a way to locate where the problem is.

At some point Xavier sent me an application to connect to TWS and monitor the orders separately.

With this application I think that I have located where the problem is but I will need Xavier confirmation to make sure. By the time I sent him the last logs and screenshots it was already late and as I didn't have a reply I guess he was already finished working for today.

Thus, we will have the next episodes Monday.

I will keep you informed.

Thank you.


Date Time Of Last Edit: 2013-10-04 17:46:50
[2013-10-05 02:54:53]
Sierra Chart Engineering - Posts: 104368
There is one thing we realized. When we said we had released a new revision of the software, it actually was released under a different filename. Could you update to version 1031 and let us know if it makes any difference with the order prices.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-10-07 13:23:41]
User30668 - Posts: 108
Hello SC Support,

Unfortunately there is no difference with version 1031, in what regards my problem with Stop orders. The orders appear on the Trade Dom for a moment and immediately disappear. In the Orders and Positions window, the price appears for a moment and then becomes 0.0000.

As I mentioned in my previous post I think I have located the problem although I obviously don’t know what is causing it or how to fix it.

In anyway, I think that I was able to prove that the problem is not coming from Sierra Chart.

As you suggested in your post # 7, TWS API is providing no value for Aux Price for Stop and Stop-Limit Orders. I think that it is clear when we check the “TWS Server Responses” window with the application that Xavier (from IB) sent to me to allow to connect to TWS (please see the attached screenshots that I sent to IB).

I have run some more tests since Friday until today, was on the phone with Xavier today and transmitted him some more information that I collected from my testing. I am now hopping that IB Technical Department finds the problem and fix it soon.

Something very strange that happened during my tests was that on Saturday, with the markets closed, I placed some experimental orders and they were completely normal, with the Aux Price with correct value and showing normally in SC platform too.

I thought that IB Technical Department had fixed the problem but I was wrong – this morning, with the markets open, the problem came back the same way.

Nevertheless, if somehow you have any other suggestions to help to fix the problem please let me know.

I will keep you informed about any developments on this issue that has been completely disturbing my work every single day for a week now.

Thank you very much for all your support and for trying to find an alternative solution for my problem, despite being convinced that the problem is not caused by Sierra Chart.

Date Time Of Last Edit: 2013-10-07 13:26:31
Private File
Private File
Private File
[2013-10-09 11:43:14]
User30668 - Posts: 108
Hello SC Support,

Today I finally got a conclusive answer from IB regarding the problem with the Stop Orders described in this thread.

They say that “The programmers have identified the cause of the problem and a fix will be ready in the next update of our TWS v 941 beta”, although they don’t have a predictable time for having it done.

I also asked if it could be a problem related with my access or my account and their answer was “it is a problem in the TWS and has nothing to do with your account. As mentioned before, some other users might be experimenting similar issues but probably they do not notice as their strategies do not rely on the orders' auxiliary price”.

Thus, I will have to check every week and wait for I don’t know how long until that release comes out with the problem fixed. Meanwhile if I want to trade EURO and GBP Futures I will have to do it without Stop Orders…

Fortunately for Sierra Chart users, SC Support is much more efficient locating and fixing any problems that might appear with SC software. And many times also problems with the Brokers software and third parties Data Feeds too…

I will update this thread when I have relevant news or when the problem is fixed.

Thank you.


P.S. – I am attaching a file I think that might be useful for future similar problems.

Private File
[2013-10-12 17:48:09]
User30668 - Posts: 108
Just a quick update:

Yesterday IB released the new TWS beta 941.0 browser based version and it includes the fix for the problem of the Stop Orders with EURO and GBP Futures.

I tested it and the problem is really fixed in this new version, the Stop Orders now have the Aux Price correct and Sierra Chart can now function normally with these instruments again.

Now we have to wait for them to roll out this update to the Standalone TWS. It might take a few weeks until they do it.
[2013-10-13 02:14:45]
Sierra Chart Engineering - Posts: 104368
This is good .
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-10-24 19:20:22]
User30668 - Posts: 108
One last update regarding the problem debated on this thread:

IB finally released yesterday the TWS Standalone 941.2 b version.

I downloaded and installed it and now there is no problem with the Euro and GBP Futures Stop Orders anymore. SC is working normally.

So it seems that this problem is finally over.

SC Support – Thank you very much for all your support.
Date Time Of Last Edit: 2013-10-24 19:21:47
[2013-10-24 19:21:43]
Sierra Chart Engineering - Posts: 104368
OK.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account