Support Board
Date/Time: Tue, 13 May 2025 21:35:29 +0000
Post From: Flattening position without orders - PT doesnt reset LastFillDateTime nor LastExitDateTime
[2016-05-10 18:19:50] |
|
The Sierra Chart Trade Position Quantity which your trading system can request is updated by order fills/executions. It is not directly updated by Trade Position data updates from the external trading service. However, if the calculated Position Quantity from the order fills is out of sync with the reported Trade Position Quantity from the external trading service, then after about 8 seconds the order fill calculated Position Quantity will be synchronized to the Trade Service Position Quantity after there has been an unsolicited update of the Trade Service Position Quantity, but that is not relevant in this case. If there is a solicited Trade Position update, the synchronization happens immediately. So it does not matter if there is a delay with the Position updates or some are missed. It is totally irrelevant. There is nothing to fix other than with your automated trading system. Possibly reducing the Chart Update Interval might help but only you would know best: https://www.sierrachart.com/index.php?page=doc/doc_ChartSettings.html#ChartUpdateInterval Siteng J: However, before the next portfolio update has been sent out by TWS, I see that Sierra placed another market order to sell 5 NQ, and it was executed immediately
Siteng J: Afterwards, the portfolio entry of -5 was sent back automatically me: So the problem was caused by the Sierra being quicker than the portfolio update by TWS? How long delay would fix that? Siteng J: I am not sure what was the strategy used by Sierra Chart and why the market order was sent Siteng J: It is possible that their strategy rely on the portfolio update call back Also these comments are speaking as if somehow Sierra Chart is creating and performing the automated trading but that is your own system. 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: 2016-05-10 18:26:07
|