Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 08:49:14 +0000



Flatten command sent Market order with invalid price causing Rejection

View Count: 513

[2020-09-16 22:19:46]
ADRTvent - Posts: 23
I am using the latest version of SC and today I used the "Flatten" function to exit a position in the E-Mini S&P500 December2020 futures contract (symbol ESZ20). Normally pushing the Flatten button sends a "Market" order which should exit any open positions and cancel any open orders in the chart. Today I received a rejection from the clearing firm (Gain Capital) which makes no sense. They are saying that SC placed a market order but also attached a price which was outside the allowable bands, so they rejected the order (which should NEVER happen,since market orders should execute regardless of price). I received the following rejection message from Gain capital:
"""Order price is outside the bands ‘Bid of 339775.00 violates high band 339600.00 using Delta .00, C.Last equals 338400.00’ Exchange rejectcode =2179"""

I contacted Gain capital and they pointed the finger at Sierra Chart saying those price numbers are wrong or invalid and that the market order was sent with those prices.
My question is how does the "Flatten" function actually work? does it send a true exit at market order or does it send an actual price ?
please advise, I need to be sure that when I use the Flatten function I never get rejected and just get whatever the market price is at that time.
[2020-09-17 10:11:53]
Sierra Chart Engineering - Posts: 104368
We specifically looked at this and in the case of a market order there is no price sent to the OEC FIX server.

does it send a true exit at market order
Yes absolutely. A market order is a market order. It does not have a price.
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: 2020-09-17 10:12:10

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

Login

Login Page - Create Account