NexusFi: Find Your Edge


Home Menu

 





Backtesting on TradeStation


Discussion in Platforms and Indicators

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




 
Search this Thread

Backtesting on TradeStation

  #1 (permalink)
 szayed 
Chicago, IL
 
Experience: Advanced
Platform: NinjaTrader, IB, TS
Trading: Emini Futures
Posts: 5 since Feb 2017
Thanks Given: 0
Thanks Received: 2

I have been trying to move my intraday Strategy from NinjaTrader to TradeStation. The trade executions times are in sync about 95% of the time, which is acceptable. However, the back testing on both systems is a night and day difference. In backtesting on TradeStation, 70% of the time, the fills are unfavorable and off by 2-3 points NOT ticks. On TS, the Net Profit is always negative and the Equity Line is downward sloping, but on NT it is profitable with a positive equity line.

I am hoping this observation can ring a bell about a solution:

When running forward testing with real time data on both platforms at the same time, the PnL either matches to the tick in MOST cases, but sometimes is off by 1-2 ticks. This is acceptable and realistic.* *That tells me that both TS and NT are getting close fills during real time.*But the question is - if real time has close fills, why are the historical back test fills so drastically different?* *

I am hoping this is a configuration issue or something small that I am missing.

Thanks in advance.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
Cheap historycal L1 data for stocks
Stocks and ETFs
What broker to use for trading palladium futures
Commodities
 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629

szayed,

are you using intrabar order generation for your strategy? Including screenshots of the "General" and "Backtesting" tab of the "Strategy Properties" with your reply might help in getting some ideas.

Regards,

ABCTG


szayed View Post
I have been trying to move my intraday Strategy from NinjaTrader to TradeStation. The trade executions times are in sync about 95% of the time, which is acceptable. However, the back testing on both systems is a night and day difference. In backtesting on TradeStation, 70% of the time, the fills are unfavorable and off by 2-3 points NOT ticks. On TS, the Net Profit is always negative and the Equity Line is downward sloping, but on NT it is profitable with a positive equity line.

I am hoping this observation can ring a bell about a solution:

When running forward testing with real time data on both platforms at the same time, the PnL either matches to the tick in MOST cases, but sometimes is off by 1-2 ticks. This is acceptable and realistic.* *That tells me that both TS and NT are getting close fills during real time.*But the question is - if real time has close fills, why are the historical back test fills so drastically different?* *

I am hoping this is a configuration issue or something small that I am missing.

Thanks in advance.


Follow me on Twitter Reply With Quote
  #3 (permalink)
 szayed 
Chicago, IL
 
Experience: Advanced
Platform: NinjaTrader, IB, TS
Trading: Emini Futures
Posts: 5 since Feb 2017
Thanks Given: 0
Thanks Received: 2


This problem has been resolved thanks to a contributer at the TradeStation forum. In the Backtesting tab, there should be no additional slippage. That was set to to $0 and the checkbox below should be disabled. Slippage and Commissions should only be in the General tab.

Started this thread Reply With Quote
Thanked by:




Last Updated on February 15, 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