NexusFi: Find Your Edge


Home Menu

 





Automated strategy fill issues


Discussion in TradeStation

Updated
      Top Posters
    1. looks_one kevinkdog with 2 posts (2 thanks)
    2. looks_two ShadowFox with 2 posts (1 thanks)
    3. looks_3 Fu510n with 1 posts (0 thanks)
    4. looks_4 FastNCurious with 1 posts (0 thanks)
    1. trending_up 3,416 views
    2. thumb_up 3 thanks given
    3. group 5 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread

Automated strategy fill issues

  #1 (permalink)
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157

I have searched far and wide for similar posts but have not found anything. For the automated traders out there using Tradestation, do you have issues with strategy fills? Seems like every few days I have what should be a strategy fill that doesn't get a signal until I reload the strategy or restart the application (only in automated execution. I also get issues where the strategy generates a fill but I do not get an order generated. I find myself missing trades more than I would like and I cannot figure out why. Could it be related to the fill logic? I am using "Strategy will fill non-historical orders only when the TradeManager reports them as filled" and only the "Wait for UROut confirmation before sending a subsequent entry order for the same signal to the market". All of these orders are market orders on the next bar (no intrabar order generation). Any help at all would be greatly appreciated.

Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
What broker to use for trading palladium futures
Commodities
Better Renko Gaps
The Elite Circle
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #2 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,360


ShadowFox View Post
I have searched far and wide for similar posts but have not found anything. For the automated traders out there using Tradestation, do you have issues with strategy fills? Seems like every few days I have what should be a strategy fill that doesn't get a signal until I reload the strategy or restart the application (only in automated execution. I also get issues where the strategy generates a fill but I do not get an order generated. I find myself missing trades more than I would like and I cannot figure out why. Could it be related to the fill logic? I am using "Strategy will fill non-historical orders only when the TradeManager reports them as filled" and only the "Wait for UROut confirmation before sending a subsequent entry order for the same signal to the market". All of these orders are market orders on the next bar (no intrabar order generation). Any help at all would be greatly appreciated.

If they are all market orders - not stop orders or limit orders, it should be fairly straightforward to diagnose.

Show a few examples that show the fill time on the strategy, and the Trade Manager messages tab which does not show the fill.

The restart issue could be if you use daily bars, and the settlement price is posted after the strategy calculates the code and generates order (based on last price traded).

Their could be multiple issues going on too.

Some examples could lead to solutions.

Follow me on Twitter Reply With Quote
Thanked by:
  #3 (permalink)
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157


Thanks Kevin! I will definitely look into the message log further when this happens. I find myself just manually managing a trade based on my strategy when I do not get filled which makes me feel like I need to babysit every second.

What about for issues where the strategy does not fill at all? Meaning the signal is never generated from the strategy to even fill an order. I have tested with having multiple charts up with one chart running the strategy in automation and the other with automation off just to see if one fills and not the other, and the non automated strategy works flawlessly. This happens a few times a week. The strategy will not fill until I reload the strategy on the automated chart or restart Tradestation. I assume this will show nothing in the message log as its like the strategy never fired the order. This is not a code issue as far as I can tell as it happens on every strategy I run and I do get a lot of orders generated.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #4 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,360


ShadowFox View Post
Thanks Kevin! I will definitely look into the message log further when this happens. I find myself just manually managing a trade based on my strategy when I do not get filled which makes me feel like I need to babysit every second.

What about for issues where the strategy does not fill at all? Meaning the signal is never generated from the strategy to even fill an order. I have tested with having multiple charts up with one chart running the strategy in automation and the other with automation off just to see if one fills and not the other, and the non automated strategy works flawlessly. This happens a few times a week. The strategy will not fill until I reload the strategy on the automated chart or restart Tradestation. I assume this will show nothing in the message log as its like the strategy never fired the order. This is not a code issue as far as I can tell as it happens on every strategy I run and I do get a lot of orders generated.

That is weird if you are running 2 identical charts, and the strategy fills in one, and not the other.

Try this an an experiment. First, delete the non-automated chart. Then, copy the automated one, and paste it right next to automated one. You will get an error saying 2nd one has automation disabled.

Then run both, and when you see a strategy fill on one or not the other, take a screenshot and post it.

I definitely had times where weird things have happened, but usually there was an explanation (in my case usually it is some snafu I created!)...

Follow me on Twitter Reply With Quote
Thanked by:
  #5 (permalink)
 
FastNCurious's Avatar
 FastNCurious 
saint louis MO
 
Experience: Intermediate
Platform: TradeStation
Trading: NQ, ES, YM, CL, GC
Posts: 149 since Oct 2017
Thanks Given: 95
Thanks Received: 177

I too have had completely missed trades on a daily basis. I am running roughly 60 strategies at a time and I have a friend who is running over 160+ strategies and TS seems to miss trades every day. Sometimes its an exit that doesn't get sent. Sometimes an entry. There doesn't seem to be any rhyme or reason to it. Our solution for now is to literally restart TS 5 times per day based on when we most likely will get missed trades. Usually it is around the open of the particular market being traded. Currently I am working on a solution to use MultiCharts to send the orders to another broker. When I was only running 10-20 strategies I would only sometimes get issues with missed orders but it seems once you get above 30 the missed orders are just too frequent. I wish there was an easy solution but so far I think this is just the limitation of a retail platform that tries to do it all (provide data, analyze the data, send signals, and fill orders) I will report back with any progress made in using MC instead of TS

Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 
Fu510n's Avatar
 Fu510n 
Suffield, CT
 
Experience: Advanced
Platform: MC, TS, Python, Rust
Broker: IB, IQFeed, TS, Kraken
Trading: ES, NQ, RTY, YM, CL, RB, 6E
Frequency: Several times daily
Duration: Seconds
Posts: 144 since Oct 2009
Thanks Given: 902
Thanks Received: 143

Have you dug into the "TradeManager - Messages" log at all? It shows (in gory detail) pretty much everything that was sent/received to TS timestamped to the second (why they haven't bothered including milliseconds like MultiCharts is beyond me). When I had to convert an EasyLanguage strategy to an indicator-equivalent version (to get proper tick-level/IOG support on Renko charts), I recall a lot of pain having to deal with partial fills (among other things) that the Messages log helped me to resolve.

This was all on TS 9.5 BTW - haven't bothered much with 10.x yet...

Follow me on Twitter Reply With Quote
  #7 (permalink)
Duviuvi
Sydney NSW
 
Posts: 1 since Oct 2023
Thanks Given: 0
Thanks Received: 0

@ShadowFox - did you ever get to the bottom of your issue? Im finding a similar problem of missing strategy fills and the messenger is not showing any attempted trade but the strategy shows a historical position. Simple entries like buy on a monday is getting missed.

Reply With Quote
  #8 (permalink)
BD00
Dallas Texas
 
Posts: 6 since Apr 2024
Thanks Given: 0
Thanks Received: 0

Does anyone still have the same issue? How are you dealing with it?

Reply With Quote




Last Updated on April 14, 2024


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts