NexusFi: Find Your Edge


Home Menu

 





Slippage - Accounting for Bid/Ask spread


Discussion in Traders Hideout

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




 
Search this Thread
  #1 (permalink)
Edwin Lefevre
Scotland
 
Posts: 27 since May 2019
Thanks Given: 11
Thanks Received: 4

Hi guys im backtesting a system now on last traded price data, this means I can not be sure if the position entered/exited was at the bid or ask.

I am trading a small number of contracts on liquid futures and would expect to only be paying the spread in slippage - 1 tick.

Would it make sense to calculate 1/2 tick for backtesting. Accounting for around 50% of the time that the order would have been traded at the bid or ask (last traded price) and not suffered slippage.

Would be great to get some input.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Hungary Called for Magyar at 97pct, Ending 16-Year Orban …
Prediction Markets & Event Contracts
TradingView Opens Volume Footprint Data to Pine Script - …
TradingView
Kraken Becomes First US Digital Asset Bank With Direct F …
Cryptocurrency
The May 31 Binary: 60% Trump Declares Iran Ops Over, Onl …
Prediction Markets & Event Contracts
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #3 (permalink)
 sixtyseven 
Golden Bay, New Zealand
 
Experience: Beginner
Platform: Sierra Chart
Trading: ES, NQ
Posts: 184 since May 2012
Thanks Given: 851
Thanks Received: 337


Something else to consider is latency. I have 2-3 seconds from where my Sierra Chart spreadsheet sends off the order til when it is filled. So to bridge that gap I have the last price 2 seconds forward for the purposes of backtesting.

I also want to make the backtests as tough as possible, so for Market Order's I always assume I'm buying the sell price, with stop orders offset from that entry price. So in my backtest, I may "enter" at a price that was never traded. In my mind, I only incur slippage on the exit, as the entry price comes with the stop loss offset. I don't see a lot of slippage on the exit - i.e where I had a stop of 2.5 points, and end up with 2.75, and so I don't bother trying to account for that in backtests. In my Monte Carlo test, I can adjust the % of trades where exit slippage occurs, which tempers down the results to what might be expected in Live trading.


Reply With Quote




Last Updated on November 27, 2019


© 2026 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 - Downloads - Top
no new posts