Tradestation rejected orders cancelling automation. - futures io
futures io futures trading

Tradestation rejected orders cancelling automation.

Discussion in TradeStation

    1. trending_up 3,401 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments

Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Search this Thread

Tradestation rejected orders cancelling automation.

(login for full post details)
  #1 (permalink)
Harrisburg PA, USA
Posts: 2 since Sep 2014
Thanks: 1 given, 0 received

So here's the issue I'm having, If you place two orders through strategy automation, one a sell above the current bar and one a buy below the current bar, Tradestation on their end will hold both but only place the order you are closer to. If the price action starts to become very fast an error can occur where Tradestation attempts to cancel an order before it is sent. Now, this issue is on Tradestations side not in the code which I know for certain from troubleshooting with Tradestation Easylanguage support. What I'm trying to do as a work around and not having any luck with yet is in 'using elsystem' to listen for a rejection and then recalculate(restart) the strategy so it continues in automation. Of that attempted solution my only problem is I have been unable to find any way to listen for a rejected order. Mind you, I'm not actually placing the order again, it's only calculated end of bar, Tradestation is holding both orders and placing one or the other based on proximity so I need to not listen for a rejection on an order I'm placing but just any rejection at all on the account. Thanks for the help! And let me know if my explanation isn't cutting I'm still finding it a little confusing myself!

Reply With Quote

Can you help answer these questions
from other members on futures io?
Webinar: Finding your own way in trading w/Adam Grimes
The Elite Circle
If ES tracks SPX, why do support/resistance, Level 2, vo …
Emini and Emicro Index
Automating strategies on multiple charts with same symbol
OFA (Order Flow Analytics) Licence
Trading Reviews and Vendors
(login for full post details)
  #2 (permalink)
Posts: 2,230 since Apr 2013
Thanks: 409 given, 1,471 received

have you checked the OCOOrderTicket object, this should allow what you have in mind with automated cancellation of the opposite order? Alternatively you might want to look at the Orders Class. This should allow you to monitor for changes of particular order.


Follow me on Twitter Reply With Quote
(login for full post details)
  #3 (permalink)
Harrisburg PA, USA
Posts: 2 since Sep 2014
Thanks: 1 given, 0 received

Unfortunately that's not really what I'm looking to do. The rejection is after both orders have been placed; Tradestation platform then automatically will take away and place orders as you gain proximity to them, in rapid succession you end up with a rejection. What I really would love to do is watch for a rejection, flatten, and recalculate the strategy. Normally when an automated strategy gets a rejection it turns itself off which in rare circumstances can leave you in a trade. Now, I would always recommend not running a live strategy with you not present but that does not mean that all people do so my goal is rather than automation shutting off just recalculate and proceed or at least flatten the position if it is going to shut off! Any Ideas?

Reply With Quote

futures io Trading Community Platforms and Indicators TradeStation > Tradestation rejected orders cancelling automation.

Last Updated on November 19, 2014

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Battlestations! Show us your trading desk - $1,500 in prizes!


Importance of Finding Your Own Way w/Adam Grimes

Elite only

Journal Challenge w/Jigsaw


Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts