NexusFi: Find Your Edge


Home Menu

 





How large should transaction costs be for backtesting futures?


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one markbrown with 13 posts (0 thanks)
    2. looks_two artemiso with 6 posts (1 thanks)
    3. looks_3 Big Mike with 5 posts (2 thanks)
    4. looks_4 OldGrey with 3 posts (0 thanks)
    1. trending_up 16,120 views
    2. thumb_up 3 thanks given
    3. group 5 followers
    1. forum 30 posts
    2. attach_file 0 attachments




 
 

How large should transaction costs be for backtesting futures?

 
nomadx
Kuala Lumpur
 
Posts: 5 since Feb 2013
Thanks Given: 1
Thanks Received: 1

Hi All... am in the process of backtesting a futures system, but am unsure of how large the one-way transaction costs I should assume for the following futures:

FX: EURUSD, JPYUSD, CHFUSD, GBPUSD, AUDUSD, CADUSD, MXNUSD
PM: Gold, Silver, Palladium, Platinum
FI: US 10Y T-Notes, US 30Y T-Bond
Energy: Light Crude, Nat Gas
Aggri: Soybean, Sugar #11
IM: HG Copper

Would appreciate any help. Thanks!


Can you help answer these questions
from other members on NexusFi?
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Exit Strategy
NinjaTrader
Deepmoney LLM
Elite Quantitative GenAI/LLM
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
27 thanks
GFIs1 1 DAX trade per day journal
18 thanks
The Program
18 thanks
 
 OldGrey 
Cambridge UK
 
Experience: Advanced
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: Currency/Index Futures/CL
Posts: 5 since Jan 2012
Thanks Given: 1
Thanks Received: 2


First question: Is this a fixed system, already designed, and you want to know how to allow for commissions or is this a system that is in the process of being designed by an artificial intelligence or data-mining process and the commission rate changes the decision making process? If it's a system that is already designed, try $15 per side and that should cover commission and slippage if you are paying around $2 per side in actual commission. If you pay more, increase the commission rate above $15 per side.

If this is a system being produced by artificial intelligence/data-mining you must ask yourself "What do I want the system to do by way of trades per day or days per trade?" Presuming that you are happy to accept whatever the system generates (this might not actually work for you in practice as it may not suit your trading philosophy), then initially I would backtest using zero commissions and check the results. If the trade numbers are low and the profits are low (or worse) then you can probably put this trading system into the "highly likely to fail category". If the profits are low and the trades are numerous, try gradually raising the commission rates to slow down the trading rate. Does that improve the profits? Different commission rates will change the rules of the system.

I will leave the answer there for the time being as this can get quite complex, depending on how the trading system is being developed.

 
nomadx
Kuala Lumpur
 
Posts: 5 since Feb 2013
Thanks Given: 1
Thanks Received: 1

Thanks OldGrey... this is for a system that has already been developed.. thanks for the figures.. I assume it's relatively robust to assume similar transaction costs across different markets, e.g. FX, Energy, etc?

 
 OldGrey 
Cambridge UK
 
Experience: Advanced
Platform: NinjaTrader
Broker: NinjaTrader Brokerage
Trading: Currency/Index Futures/CL
Posts: 5 since Jan 2012
Thanks Given: 1
Thanks Received: 2

My experience is that there is normally only a slight difference, if any, in transaction costs across different exchanges but it may well depend on your broker. It also depends on whether this strategy is executed electronically or manually. That can make a huge difference.

Before I even checked this I would make sure the basic system is robust, checking on the type of data used to create it, the comparison with current markets, the blind test results and the walk forward results. This is where your real risk is sitting.

 
markbrown
Dallas, Tx, USA
 
Posts: 42 since Mar 2013
Thanks Given: 5
Thanks Received: 18

i would never use any transaction or slippage cost when backtesting. doesn't mean that i ignore the cost it just means that have good reason to deny it's presence in the testing process.

mark brown

 
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


markbrown View Post
i would never use any transaction or slippage cost when backtesting. doesn't mean that i ignore the cost it just means that have good reason to deny it's presence in the testing process.

mark brown

What is your good reason to "deny its presence" and leave it out of a backtest? Transaction costs and slippage/spreads are real.

Obviously if you don't take many trades then maybe it is trivial to factor such costs, but the more trades you take the more you need to be on top of the actual transaction costs.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal
 
markbrown
Dallas, Tx, USA
 
Posts: 42 since Mar 2013
Thanks Given: 5
Thanks Received: 18


Big Mike View Post
What is your good reason to "deny its presence" and leave it out of a backtest? Transaction costs and slippage/spreads are real.

Obviously if you don't take many trades then maybe it is trivial to factor such costs, but the more trades you take the more you need to be on top of the actual transaction costs.

Mike

let me spark your interest in my answer with a question: in what case would i not only "not" include cost in backtesting to be realistic but yet would in fact have to add profits to the backtesting to make it realistic?

if you have transaction and slippage cost which would effect system performance backtesting then i would explore ways to negate that cost somehow, turn a negative into a positive.

i did state "prior" that i did not ignore cost but rather i just did not include it in the backtesting of models.

mark brown

 
 
DarkPoolTrading's Avatar
 DarkPoolTrading   is a Vendor
 
Posts: 1,036 since May 2012
Thanks Given: 1,244
Thanks Received: 1,326


markbrown View Post
let me spark your interest in my answer with a question: in what case would i not only "not" include cost in backtesting to be realistic but yet would in fact have to add profits to the backtesting to make it realistic?

if you have transaction and slippage cost which would effect system performance backtesting then i would explore ways to negate that cost somehow, turn a negative into a positive.

i did state "prior" that i did not ignore cost but rather i just did not include it in the backtesting of models.

mark brown

Im confused. You have to pay to get into and out of every single trade. No exceptions (that im aware of?). Therefore by not taking this cost into account in back testing, you are removing a certainty that exists in live trading from your testing. The more often your system trades, the less accurate the back test results will be.

Diversification is the only free lunch
Follow me on Twitter
 
markbrown
Dallas, Tx, USA
 
Posts: 42 since Mar 2013
Thanks Given: 5
Thanks Received: 18



DarkPoolTrading View Post
Im confused. You have to pay to get into and out of every single trade. No exceptions (that im aware of?). Therefore by not taking this cost into account in back testing, you are removing a certainty that exists in live trading from your testing. The more often your system trades, the less accurate the back test results will be.


some people have credit cards that pay points and some do not. even when you get points you paid for them right so what did the points cost that you didn't receive but yet you paid for them.

mark brown


“To believe a thing impossible is to make it so.” - French Proverb


 



Last Updated on March 10, 2013


© 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