Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 17:08:09 +0000



Post From: SC via Interactive Brokers not correctly setting OCO orders - important!

[2015-04-14 09:08:48]
Sierra Chart Engineering - Posts: 104368
OK, we will provide you more information to give you the information you need so you can understand the source of the problem with confidence.

When it comes to submitting orders through the TWS API, if there is improper use of it, it would result in an order or order set being rejected or the order/ order set being in a stuck state and Interactive Brokers not properly rejecting the order or order set.

In the case of a server-side bracket order, the bracket order set would never go through to a working state if there was a problem with the use of the API. If it is going into a working state, then there is no misuse of the API. In other words, the API is being used perfectly.

So the next thing to look at is all of the orders part of the bracket order in the Trade >> Trade Activity Log. Here are the instructions:
https://www.sierrachart.com/index.php?l=doc/doc_TradeActivityLog.php#ViewingHistoricalTA

When the 3 orders are initially submitted to Interactive Brokers, what is the order quantity of each of them? They should all be the same. Are they?

After the orders are submitted, Sierra Chart has no involvement with them anymore other than modification and cancel actions you perform on the orders yourself. Update: In the case of a trailing stop order, Sierra Chart will modify the price of an order.

Any change with the order status or an orders quantity results in a new log entry added to the Trade Activity Log. Therefore, as soon as an order quantity for one of the orders in the bracket order set changes, you will see a new entry added.

When you see an order quantity change, do you see a preceding line putting the status into a "Pending Modify" state? If not, Sierra Chart did not modify the quantity.

If you manually changed the quantity you would see the "Order Action Source" indicate "user order modification" in the log entry which indicates the modification.

Try to remember we are talking about an issue that could have real monetary impact here.
You are right. You should be talking to Interactive Brokers about this and considering whether you should even be maintaining an account them with a problem like this. You should be communicating to Interactive Brokers in the same way you are communicating to us. They should be immediately on top of this problem.

With Interactive Brokers, do you have access to their programmers like you have access to us getting answers direct from the programmers. Absolutely not. Dealing with them must be a difficult process. That is why we avoid them as much as we possibly can.

All of the communication to us, is all out in the open. We have nothing to hide here. A lot of work has gone into the Trade Activity Log to provide an accurate and complete log of all actions on an order in order for the user, and us if necessary, to debug a problem.

What you keep missing is that by putting it on the users to fix the problem with IB you end up costing yourself in potential customers.
We can tell you, it is our intent to keep the Interactive Brokers users to only those who are experienced and willing to understand the source of problems. If you look at our Interactive Brokers page here we make that clear in more than one place:
http://www.sierrachart.com/index.php?page=doc/IB.php



Plenty of other stuff uses server side bracket orders with IB: Ninja, ButtonTrader, BracketTrader, their own TWS client, etc. It's not like their general implementation is broken.
i960, You have got to be kidding us. Prove that any of these programs use Interactive Brokers server-side bracket orders. To our knowledge Ninja does not and Bracket Trader does not. We do not know about Button Trader. If this is different now, it must mean that something has changed.

You also need to remember that Ninja said they had to open a brokerage in order to support server-side bracket orders! Does not make much sense that they would then at that time go ahead and implement them with Interactive Brokers. None of this is making any sense.


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: 2015-05-01 18:32:17