Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 13:50:29 +0000



[Locked] - SierraChart is showing closed positions as opened.

View Count: 3532

[2013-07-10 17:30:40]
imdtrader - Posts: 26
I am using Sierra Chart connected to IB with 2 accounts.

I had problem with Sierra changing account number (this post Positions account changes for IB ). This problem was resolved with upgrade to 993 version.

However now I deal with different problem.

After I close my position, Sierra is still showing my position is opened.
See screenshot. I have now 0 positions on YM, but Sierra is still showing new P/L for already closed position. The position is closed even in Orders and positions tab.

This happened several times to me on different markets today.

imagesierra.png / V - Attached On 2013-07-10 17:30:22 UTC - Size: 100.72 KB - 474 views
[2013-07-10 19:21:37]
Sierra Chart Engineering - Posts: 104368
This means there is incomplete order fill data and apparently you have Menu >> Use Trade Fill Calculated Position enabled on the Trade Window. Here is the documentation for this:
https://www.sierrachart.com/index.php?l=doc/doc_TradeStatusWindows.html#UsingIndependentInternalPositions
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-07-10 19:27:54]
imdtrader - Posts: 26
Hello,
no the function "Use Trade Fill Calculated Position" is NOT checked for the chart I was having problem with. (As well it is not checked for other charts)

[2013-07-10 19:50:04]
Sierra Chart Engineering - Posts: 104368
What does the Trade >> Trade Orders and Positions >> Positions tab show as the position for a symbol which should be flat?

If what you see is incorrect, press the Refresh Trade Data button on that window.
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-07-10 19:50:17
[2013-07-11 13:03:42]
imdtrader - Posts: 26
I was checking Trade >> Trade Orders and Positions >> Positions tab while having the problem.
There was Quantity "+1" for the YM contract. I tried a lot of ways how to get rid of the +1 (because I was flat in IB), but nothing helped.

I tried:
- Refresh Trade Data button
- disconnect/connect Sierra
- even restart Sierra
Nothing helped - I still had that position in Sierra.

Because I needed to continue trading I then used Position > Clear Selected Position Data while I did have selected YM and got rid of the position.

The same I did with the other markets I traded and got into the same problem (stocks).

Need to say however, that this problem did not occur in every trade. I think it depends on what kind of way I used to get out of the position. When I used "flatten" button, the position ended correctly. Even if the position ended on submitted stop order (as stop-loss) it did ended correctly.

However if I exited via limit order I got into this trouble.

[2013-07-11 16:51:00]
User83524 - Posts: 27
I had the exact problem with additional issues a couple of months ago with SC/IB and posted my problems on the old support board. Those issues were never resolved by SC. I also had multiple IB accounts at the time (now I just have a single account.) I finally gave up and have just used SC for charting since I never trusted it. I still get those problems if I do SIM trades using IB data from time to time. My problems were also never consistent. I have noticed that it occurs more regularly if I have multiple trades active. It seems to work pretty well with just a single active trade.
https://www.sierrachart.com/supportboard/showthread.php?t=42418
[2013-07-11 18:25:03]
Sierra Chart Engineering - Posts: 104368
In the thread you linked to, you did not have the same problem. The issue with a position resetting back to 0 when using Interactive Brokers is a common one when you do not have your Interactive Brokers account number set or set properly within Sierra Chart.

Furthermore, we asked to do a remote assistance session with you in regards to the last issue reported, and we never heard back. So how could we resolve something that we did not get further information on. We cannot duplicate the problem or have ever heard of it since then.
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-07-11 18:25:34
[2013-07-11 18:26:35]
Sierra Chart Engineering - Posts: 104368
We are doing testing now in regards to what is reported in post #5.
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-07-11 18:57:17]
Sierra Chart Engineering - Posts: 104368
The position data that you see on Trade >> Trade Orders and Positions >> Positions comes directly from Interactive Brokers. If it is not synchronized to what IB has, then if you select Refresh Trade Data, it will be. We tested this and it worked and we see no reason why there could be a problem with this.

When you use the command Clear Selected Position Data, that will cause the position data to be re-synchronized.

Make sure you have set the correct Positions Account in Global Settings >> Data/Trade Service Settings.
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-07-18 02:07:10
[2013-07-11 19:01:59]
Sierra Chart Engineering - Posts: 104368
If you are still having difficulty, we will need to check on this with remote assistance.
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-07-16 17:43:15]
imdtrader - Posts: 26
Hello,

Yes the problem is still in the software.

But now I know it happens only if I end the position via market (using the Flatten button). If the position ends via limit or stop order, it ends correctly.

Have a look at included screenshots:

Sierra prints the nonexisting short positions in the Positions tab (altough in IB the position is already flat), but in the same time Sierra is flat under Trade stats for Charts!

If I refresh the tab via „Refresh Trade Data“ nothing happens. I have to get rid of the position only via menu Position > Clear Selected Position Data.

Please send me en email If you want to check it remotely. But how can you check it? This only happens while realtime trading ....

imagesierraproblem1.png / V - Attached On 2013-07-16 17:40:58 UTC - Size: 56.05 KB - 498 views
imagesierraproblem2.png / V - Attached On 2013-07-16 17:41:09 UTC - Size: 11.77 KB - 502 views
imagesierraproblem3.png / V - Attached On 2013-07-16 17:41:35 UTC - Size: 15.91 KB - 498 views
[2013-07-18 02:08:06]
Sierra Chart Engineering - Posts: 104368
Not sure why this is happening. We are doing development to support multiple trading accounts and since you have multiple accounts on your TWS username, maybe this will solve the problem.

In any case, it will be easier to understand and resolve after we complete this development in the next few days.
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-07-18 02:08:55
[2013-07-26 17:54:30]
User83524 - Posts: 27
I would like to request remote assistance. Thanks.
[2013-07-26 20:58:48]
Sierra Chart Engineering - Posts: 104368
We have been testing this and the problem is that Interactive Brokers API is not working properly. One thing we see is that after the initial response of trade positions data, they no longer send a message indicating the end of sending a set of positions.

This End message is received only once after the first set of position messages, but never subsequently.


We are going going to put out a new release at the end of today, version 1000. We will want you to try that.
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-07-27 02:50:14
[2013-07-27 02:03:11]
User83524 - Posts: 27
Sounds great . . Much appreciated. Thanks!!!
[2013-07-29 16:57:51]
User83524 - Posts: 27
I downloaded SC version 1000 on Friday and ran some sim trades this morning with TWS Build 938 1e. I'm still experiencing the same problems. When I run a single trade everything seems to work fine. As soon as I do two separate trades at the same time I have problems. One trade will terminate fine but the other won't. Using two contracts, that trade will hit the first target but will show two contracts active even though one target has been filled. Once the final target is hit, there is still one contract remaining even though both targets were hit. That remaining one contract is still active and I have to flatten to terminate the trade.

I tried a number of single and double trades this morning and all replicated the above problem.
[2013-07-30 14:53:52]
imdtrader - Posts: 26
Hello,

I installed the pre-release version today (1001) but had the same problem as before.

More over - there is no more settings for positions account and orders account under Data/Trade Service Settings. Thus Sierra Charts lost track of opened position right after I got into position (opened P/L was 0 although I was in short position).

When I ended the position via limit order, Sierra displayed the same problem as discussed in this thread – Position was still “-1” although I was flat in IB.

[2013-07-30 16:53:59]
Sierra Chart Engineering - Posts: 104368
The problem is the TWS is not sending through the position updates. We have an idea of how to solve this.
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-08-01 11:27:10]
Sierra Chart Engineering - Posts: 104368
Could you confirm that after you connect to TWS that you see more than one account listed in the account drop-down list box on a Trade Window in Sierra Chart?

Could you please test version 1002 which is available now and let us know if you still see a problem with positions. You may very well. And if so, we have some other ideas with how to resolve this.

It is hard for us to determine the cause because we cannot duplicate it because we do not have access to the same a kind of account that you do. Although we are seeing some odd behavior from TWS relating to positions.


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-08-01 13:22:24]
imdtrader - Posts: 26
Hello,
I installed the version 1002 and so far I can confirm that I see the drop list with the selection of my accounts in Trade Window.
I will let you know how the trading goes.

[2013-08-01 13:59:34]
imdtrader - Posts: 26
Hello,

I have to report, that version 1002 has problem with tracking open position. This is something I reported earlier and was corrected (version 997 does not have this problem).

See example of todays live trade. I entered trial trade short in YM on my live IB account. While I was still short, sierra erased the line informing about open profit and displayed “Flat”. It continued to display stop-loss and profit target.

After my profit target was hit, it showed for about 2 seconds that there is a new long position opened from my profit target (but it corrected itself to No position after that 2 seconds).

But there is definitely problem now that Sierra losses track of opened positions. This problem is not present in version 997 that I use normally.

imageSC_error.png / V - Attached On 2013-08-01 13:59:25 UTC - Size: 43.29 KB - 460 views
[2013-08-01 17:04:26]
Sierra Chart Engineering - Posts: 104368
The problem is Interactive Brokers does not provide the capability to provide position information for multiple trade accounts. Only a single 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-08-01 17:14:22]
imdtrader - Posts: 26
But then it is better to use the solution from version 997 where the position information of opened traders is correct while using multiple accounts.
[2013-08-01 17:15:51]
Sierra Chart Engineering - Posts: 104368
What we have to do is manually request the position data for each account every time there is an order fill.
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-08-02 06:21:28]
Sierra Chart Engineering - Posts: 104368
Please try Prerelease version 1003 and let us know if the problem is resolved.
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-08-02 06:21:47

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

Login

Login Page - Create Account