NexusFi: Find Your Edge


Home Menu

 





Getting duplicate fills in automated strategy


Discussion in TradeStation

Updated
    1. trending_up 3,836 views
    2. thumb_up 11 thanks given
    3. group 2 followers
    1. forum 12 posts
    2. attach_file 1 attachments




 
Search this Thread

Getting duplicate fills in automated strategy

  #11 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,271 since Feb 2017
Thanks Given: 2,958
Thanks Received: 2,853


Donovan2580 View Post
When you say it will perform differently in live vs sim - you just mean because the Sim always gets filled immediately on limit orders, etc when in real life it may or may not be filled, correct? Or are there other gotchas I am not aware of?

You are very welcome and I'm glad to help. I have gotten a lot of help here at FIO, so I am just paying it forward. Also, I now have another tool in my toolbox.

In general, sim will never match live and it can give you a false sense of security that your strategy is awesome. It is more accurate than just looking at the Strategy Performance Report, but nothing beats live. It is a good reference, but live performance will generally be worse than sim. One recent strategy of mine only performed 80% as well as sim... still profitable, but not completely accurate.

The main gotcha for a 1-tick chart is that latency can kill (using MES and ES as a reference), especially if you are doing any sort of HFT or scalping. You can mitigate that somewhat by being closer to the exchange using a VPS or other solution.... in other words, every millisecond counts: from the moment your strategy fires that order to the Order Execution Network until the order if filled.

Using limit orders is helpful for the above problems and is more precise, but they have their own problems, too. Anyhow, I hope this helps.

~vmodus

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
What broker to use for trading palladium futures
Commodities
About a successful futures trader who didnĀ“t know anyth …
Psychology and Money Management
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
  #12 (permalink)
Donovan2580
Port St. Lucie, FL
 
Posts: 36 since Jul 2016
Thanks Given: 22
Thanks Received: 37

Good news!

I got it rolled into my code with no problem and it looks like it works great. I have not rec'd a duplicate order and I don't think I could based on the way it is coded.

I have used limit orders in the past and as you know sometimes the problem is not getting filled. I always seem to pick the exact spot that it "touches me" and then backs off which puts me in a bad spot.

Thank you again for taking the time to help me out. I have another tool in the toolbox myself.

Have a good one!

Donovan

Reply With Quote
Thanked by:
  #13 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,271 since Feb 2017
Thanks Given: 2,958
Thanks Received: 2,853


That is great! Glad to help.

~vmodus

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on June 30, 2020


© 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