Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 06:56:37 +0000



Post From: Now Released: Upcoming CME Direct Routing

[2021-05-08 21:57:55]
Sierra Chart Engineering - Posts: 104368
In the case of a long position, when a sell market order is submitted and the quantity of all sell working orders (which includes this market order) is less than the current position quantity, then this is allowed to pass the margin check because this is reducing risk. There still is a recalculation of the required margin in this case. Although if the account is under margin, the order is allowed to go through since this reduces risk.

In the case of a short position, when a buy market order is submitted and the quantity of all buy working orders (which includes this market order) is less than the current position quantity (interpreted as an absolute value), then this is allowed to pass the margin check because this is reducing risk. There still is a recalculation of the required margin in this case. Although if the account is under margin, the order is allowed to go through since this reduces risk.

There is an error in this technical explanation. "is less than the current position quantity" is actually is less than or equal to.

However, there is a problem with this logic. It works in simulation but not live because of the delay with canceling orders during a flatten operation with live trading.

We are going to change it to also calculate separately MaximumPotentialPositionQuantity without using the new order. If MaximumPotentialPositionQuantity with the new order is not greater than MaximumPotentialPositionQuantity without the new order, then the margin check will be ignored. However, the position limit still applies.
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