Login Page - Create Account

Support Board


Date/Time: Fri, 07 Oct 2022 15:52:20 +0000



positions from IB aren't updating

View Count: 2103

[2013-05-21 16:31:55]
User32496 - Posts: 26
my acsi code is sending live orders to IB but when i am stoped out IB is stoped and closing the position but SC is still having it (the chart is well below my stop). it happen both on target limit order of taking profit and also on stops (market).
when trying to refresh trade data on the order & positions window there is no change.

only when i disconnect from IB and than reconnect to IB i am getting the correct position (which is 0) and my chart and order & positions window is updating to to 0 position.
any idea what should i do to solve this please?

that's my log:
Message from IB: Invalid Real-time Query:No market data permissions for GLOBEX FUT. IB Error Code: 420. Request ID: 104238122. | 2013-05-21 12:22:50
Message from IB: Invalid Real-time Query:No market data permissions for GLOBEX FUT. IB Error Code: 420. Request ID: 104238112. | 2013-05-21 12:22:50
IB Trading service: Requesting Trade Positions for account: XXXXXX99 | 2013-05-21 12:22:53
IB Trading service: Received Trade Positions download end message. | 2013-05-21 12:22:53


[2013-05-21 17:59:29]
Sierra Chart Engineering - Posts: 104268
For something like this you will have to ask IB technical support.

Really what we recommend you do is not rely on IB position data if you are having trouble with it and use the Sierra Chart order fill calculated position data. Refer to:
http://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-05-22 09:00:49]
User32496 - Posts: 26
I did as you suggested and still not working. I got this error

Auto-Trading: DAX-201306-DTB [R] 30 vol #1 | D_D Punch | SellEntry signal is ignored because a Short
position exists or working order quantities indicate a potential Short position, and Multiple Entries in Same Direction is not enabled. Internal position quantity: -2. Internal position with working orders quantity: 0 | Bar Start Time: 2013-05-22 04:50:21 | 2013-05-22 04:50:43



[2013-05-22 22:19:26]
Sierra Chart Engineering - Posts: 104268
So you are saying at the time this message occurred that your position was not -2?

If you are flat, then at that time you need to clear the Trade Activity data:
http://www.sierrachart.com/index.php?l=doc/doc_TradeActivityLog.php#ClearingtheLog

Going forward everything should be correct as long as no order fills are missed.
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-05-23 08:23:37]
User32496 - Posts: 26
well after the next few trades it just came back again after i cleared the log as you sugested (on exiting stops and targets but when flatting and closing from right click on the chart than it's ok)
the only solution is the disconnect from IB and back again (why the refresh trade data button not working?)

Date Time Of Last Edit: 2013-05-23 08:24:16
[2013-05-24 00:22:39]
Sierra Chart Engineering - Posts: 104268
Interactive Brokers is a very complex and troublesome system. You can run into various issues for a myriad of different reasons. Helping with these kinds of issues, is exceptionally difficult for us. We do not know what to suggest.

What are you trading through Interactive Brokers and why are using them?
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-05-24 00:23:23
[2013-05-24 00:34:54]
Sierra Chart Engineering - Posts: 104268
Interactive Broker support policy:

Support from Sierra Chart for technical issues encountered when using Interactive Brokers, is within the discretion of Sierra Chart. There are some complex technical issues that a user may encounter when using Interactive Brokers, that can have various causes which are outside of the control of Sierra Chart, and can be hard for us to understand and assist with. There may be some issues you report to Sierra Chart, which we cannot provide any help for or provide only limited help. Please be aware of this when making a decision as to whether you should be using Interactive Brokers.

Our only advice, is to make certain you have properly specified the Orders Account and Positions Account. This is documented at step 6 here:
http://www.sierrachart.com/index.php?l=doc/IB.php#SetupInstructions

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