Login Page - Create Account

Support Board


Date/Time: Wed, 25 May 2022 03:37:03 +0000



Trade Window Flatten - position not exited

View Count: 1291

[2013-06-07 15:04:53]
T44 - Posts: 357
I have position limits set at my FCM. I was long N lots with a max position size of N lots. I have Sierra auto bracket my trades, so there was a working sell stop N lots below the market and a working sell N limit above the market.

I use the "flatten" button to trade out and receive the following error from the TTFIX adapter (where N is position limit) :
Trade Order Error - TT order update (Rejected). Info: >From Gateway. WCNPP(2N) > MxNPP(N) P1
then symbol, internal order ID, date, time details.

What appears to be happening is that the TT Risk module calculated that my worst case position would be greater than my position limit and rejected the order. When I clicked "flatten" again a few seconds later, it got me flat without a problem.

I've had these risk settings in place since I started using Sierra chart, every trade has been placed for my max position size, every trade has been placed with bracket orders, and on trades not exited on stop or limit all exits have been done via the flatten position function.

My FCM has recommended that I cancel the orders manually before using the "flatten" function to avoid this problem happening again. I do not know, so can Sierra please tell me whether the "flatten" function cancells the working orders before or after sending the offsetting order to close out the position?

I'd appreciate some further information to learn whether this is something to do with how my FCM has configured X_Risk or their TTFIX adapter, a problem with TT, or a possible glitch in Sierra chart. Naturally I would like my order entry system to behave predictably.

Thank you.
[2013-06-07 16:20:31]
Sierra Chart Engineering - Posts: 102855
Sierra Chart definitely does cancel all of the outstanding nonmarket orders before sending the market order to flatten. However, right after that, the market order is sent out. So the problem is that until those orders are actually confirmed to be canceled by the exchange, the risk management on the server is rejecting the market order. So what the broker said is going to be the best advice.

So there really is not a problem anywhere. The only way to completely avoid this, is to allow more contracts to be traded on your account. Or cancel the orders first, give them a moment to actually cancel and flatten.
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-06-07 16:21:19

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

Login

Login Page - Create Account