Tagged Questions
5
votes
4answers
888 views
How should I include the bid-ask spread as a transaction cost in a backtest?
I have two backtesting algorithms:
One that uses bid and ask prices for signal generation. For example: Buy when $ask < threshold_1 $ and sell when $bid > threshold_2$. Bid and ask prices are ...
12
votes
3answers
615 views
How to account for transaction costs in a simulated market environment?
I am simulating a market for my trading system. I have no ask-bid prices in my dataset and use adjusted close for both buy and sell price. To account for this I plan to use a relative transaction ...