Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 13:33:40 +0000



Order positions not in sync with interactive brokers

View Count: 3076

[2016-02-09 02:22:14]
User380760 - Posts: 88
I connected to IB account for forex.
There are multiple orders shown in sierra chart, but not in IB. I tried flatten orders in sierra chart, but these orders got sent to IB, and the position in IB getting bigger, but not reflected in sierra chart. It's still those several orders in same quantity. I had to go into IB, and cleared them all. But start both TWS and sierra chart, tried to refresh the data feed, and refresh trade data in sierra chart, same. Nothing works. Solution to clear sierra chart bogus positions?
[2016-02-09 02:29:19]
User380760 - Posts: 88
In the attached image, you can see that same symbol even have different order positions.
image2016-02-08_21-27-53.png / V - Attached On 2016-02-09 02:28:40 UTC - Size: 141.92 KB - 530 views
[2016-02-09 04:07:21]
Sierra Chart Engineering - Posts: 104368
Refer to this section here:
https://www.sierrachart.com/index.php?page=doc/doc_TradeStatusWindows.html#IncorrectlyReportedTradePosition
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
[2016-02-09 04:47:08]
User380760 - Posts: 88
no matter how many times I repeated the clearing process in the referred page. Those orders just stuck on the charts!
[2016-02-09 06:03:37]
Sierra Chart Engineering - Posts: 104368
Are you using the Order Fill Calculated Position for those charts?
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
[2016-02-09 20:34:28]
User380760 - Posts: 88
Yes, the Order Fill Calculated Position was checked when these orders placed. I have then checked it off, and following the instructions to clear the existing orders/positions. The positions are still not cleared, however.
[2016-02-09 22:18:47]
Sierra Chart Engineering - Posts: 104368
We have no further information to provide other than what is documented here:

https://www.sierrachart.com/index.php?page=doc/doc_TradeStatusWindows.html#IncorrectlyReportedTradePosition
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
[2016-02-10 02:33:05]
User972044 - Posts: 154
Are those trades generated from an automated trading system or from manual trading? How can the positions in Sierra Charts be out of sync with that of IB? Just curious.

Thanks
[2016-02-10 04:00:47]
User380760 - Posts: 88
It's all from manual trading. It started with some error messages "out of regular business hours" when I tried to place orders. I am not sure if this contribute to the out-of-synch problem. (I had not "out of regular business hours" error when I trialed a month back.) I did get that resolved. Several orders was placed in the IB account when I tried to work out that issue. There were several orders popped up in sierra chart, likely originated in sierra chart. But I don't know if those orders played in IB showed up in sierra chart or not. I attempted to flatten, buy/sell orders to flatten the positions in sierra chart, but the moment it disappeared on chart, positions popped up again. Numerous orders from these flatten attempts did get transmitted to IB. So there are gazillion of open positions in IB at that time, but none was reflected in sierra chart. I had to go to IB to close those positions one by one.

For those positions in sierra chart, I followed the above instructions, and cleared the trade activity. Those positions still persist. I also tried to refresh the trade data from IB. None worked so far. I don't understand why sierra chart doesn't have a solution to just reset the position, then retrieve position from IB.
[2016-02-10 04:06:11]
Sierra Chart Engineering - Posts: 104368
The Trade >> Trade Orders and Positions >> Positions tab does indicate the current positions from TWS.

If that is not correct, then you need to ask Interactive Brokers about what you are seeing. This is what the documentation says.

I don't understand why sierra chart doesn't have a solution to just reset the position, then retrieve position from IB.

There is nothing to reset and the positions that you see are exactly what TWS is providing. If this does not make sense, then where are you seeing the Position that does not look correct? Give us a screenshot of that, and then also give us a screenshot of what you see on the Positions tab. They will match unless you are using the Order Fill Calculated Position.

None of this is hard and there should not be a problem unless TWS is not providing Position data, which in some cases it will not.
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
[2016-02-10 04:39:31]
User972044 - Posts: 154
That is strange. Usually when you open/close positions in a platform while connected to an IB account, the positions will open/close in the platform first and then show up in IB. From what I have seen from trading through platforms with IB, usually IB will show any positions opened/closed from the platform but the platform will not show positions opened in IB so in other words, if you go to IB and trade directly on TWS, those positions will not show on Sierra Charts. This is probably not unique to Sierra Charts.

But for the problems of positions being opened but not show up in Sierra Charts and then closed but pop up again, that is strange. I don't know whether that's a server latency issue or the server was just too busy in recognizing the status of positions. Maybe you can provide some trade logs, that might help.

Good luck.
[2016-02-10 04:52:28]
User380760 - Posts: 88
I believe I have cleared all the trade logs when I attempted to sync last night. Just to show partial trades placed through sierra chart that showed up in IB trade history, some from flatten attempts. Some I suspect just fired up by sierra chart itself, or maybe my hand click on flatten button every couple of seconds if you want to blame me, whatever. Even though there are gazillion of orders, I "only" need manually close all trades worth of 9million to flat the account, strange again. When I clear the trade activities, that's after I checked off the Order Fill Calculated Position.

In any case, I have let the sierra chart slept for 24 hours, those bogus positions are gone now. The previous attached image showed those positions that was still present at 2330EST last night. I am tired of these now. will put it to rest.
Date Time Of Last Edit: 2016-02-10 04:54:00
image2016-02-09_23-41-13.png / V - Attached On 2016-02-10 04:45:12 UTC - Size: 1013.83 KB - 374 views

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

Login

Login Page - Create Account