Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 23:28:24 +0000



Interactive Brokers API

View Count: 401

[2024-01-19 20:00:57]
User229477 - Posts: 35
OK, so I reviewed Interactive Brokers Trading Service: Trading Related Issues and have been suffering with the API issues that everyone has faced for many years. I just got off the phone with Interactive API department and they said they deal with hundreds of 3rd party developers. I told them I have NEVER had any problems with Sierra Charts executing orders with several brokers and sent them the link above.

All I know is that this is a nightmare just in the last week or too executing orders. I was told the supervisor at Interactive interacts with their in house developers and that Sierra Charts has to handle this. This has cost me money with bracket orders either held on their server or Sierra Charts managing the trades.

Interactive Brokers said their API is open source.
Date Time Of Last Edit: 2024-01-22 00:20:08
[2024-01-21 23:08:20]
User229477 - Posts: 35
Has anyone resolved their API issues with Interactive? I frequently have the child orders close my position and then initiate a new position in the opposite direction, whether the orders are held on Sierra Charts or Interactive's servers.
[2024-01-21 23:22:21]
Sierra_Chart Engineering - Posts: 17178
Regarding this:
I frequently have the child orders close my position and then initiate a new position in the opposite direction,

This should not happen aand it is not something that we hear about with Interactive Brokers.

So it has to be analyzed.

We think the problem most likely relates to Position reporting from TWS. When the Position is established, make sure what you see in Trade >> Trade Positions Window is correct for at least 10 seconds and thereafter. If not let us know. Then look at the Trade Position within the Trade Window:
Basic Trading and the Trade Window: Main/C >> Position Quantity@Price: / P: (Compact tab)

And verify that is correct.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-01-21 23:22:58
[2024-01-22 00:09:27]
User229477 - Posts: 35
I have two IB accounts. I select the account via the Trade Window and have been using just one of the accounts with Sierra. Sometimes my stop is hit in under 10 seconds. The Trade Positions Window is showing the balance currently in the account I'm not trading. How do I get it to show the balance of the IB account I'm actively trading? I end up using the IB Trader Work Station classic to know where I'm at and to close out positions.
[2024-01-22 00:15:53]
Sierra_Chart Engineering - Posts: 17178
Refer to this setting:
https://www.sierrachart.com/index.php?page=doc/InteractiveBrokers.php#ConfiguringTradeAccountForReceivingPositionsAndAccountUpdates
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-01-22 00:28:51]
User229477 - Posts: 35
"Set the Account Index for Subscribe to Positions setting to the zero-based index of the Trade Account you want to receive Position and Account updates for. For example, if you have 2 trading accounts on your TWS username and the first one is the one you want to receive Position and Account updates for, then you would set this to 0."

Would I put 1,2, or the account number with letter and number for the other account?

Do you think this will solve the situation? I notice that when I change orders on Sierra, the parent and child positions are reflected instantly. However, it's when they are executed that everything gets mixed up.
[2024-01-22 01:40:44]
User229477 - Posts: 35
OK, I experimented and found the second Interactive Brokers account would display the account balance by entering the number 1. Hopefully, this will resolve the initiating positions positions on bracket order situation.
[2024-01-22 14:02:18]
User229477 - Posts: 35
When I have Interactive Brokers manage the bracket orders, there is a little yellow triangle with ! on one side of the child orders (in the classic Trader Workstation). Is this why I am encountering a new order in the opposite direction that I have to close out manually via IB Trader Work Station? TWS Image link is below. I did not see option to upload pic of items outside of Sierrachart.

https://ibb.co/cQt05CX
[2024-01-22 15:49:37]
UserOne - Posts: 40
If you hover over the icon you will see a box open with the explanation that the meaning is the order can be filled in trading hours (04-20 EST).
[2024-01-22 17:34:29]
User229477 - Posts: 35
Hi UserOne, Thank you for responding. I saw that but wondering if there might be something more since the other orders didn't have that and I have been getting into positions after the position should be closed.
[2024-01-22 18:08:55]
UserOne - Posts: 40
The option to trade pre-market is only for stocks.

If you trade futures there won't be this option because futures don't have a pre-market.
[2024-01-22 18:28:29]
User229477 - Posts: 35
If you look at this pic https://ibb.co/cQt05CX why don't the other orders have the same triangle and why are two orders under AUX?
[2024-01-22 21:16:05]
Sierra_Chart Engineering - Posts: 17178
Yes:
OK, I experimented and found the second Interactive Brokers account would display the account balance by entering the number 1

Use an index of 1 for the second Interactive Brokers 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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-01-22 21:16:11

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

Login

Login Page - Create Account