Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate spread estimation #14

Open
ghost opened this issue Mar 19, 2019 · 1 comment
Open

Integrate spread estimation #14

ghost opened this issue Mar 19, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 19, 2019

No description provided.

@anfederico
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant