gemini icon indicating copy to clipboard operation
gemini copied to clipboard

Integrate spread estimation

Open ghost opened this issue 6 years ago • 1 comments

ghost avatar Mar 19 '19 17:03 ghost

Just to add to this incase someone wants to pick it up. To make backtesting more realistic, you might want to account for the spread to better estimate what price your trades would have been filled at, or if your limit orders would have been filled at all. There are some interesting and relatively simple methods for estimating the spread from HLOCV data.

Farshid Abdi, Angelo Ranaldo, A Simple Estimation of Bid-Ask Spreads from Daily Close, High, and Low Prices, The Review of Financial Studies, Volume 30, Issue 12, December 2017, Pages 4437–4480

anfederico avatar Jun 24 '21 20:06 anfederico