Skip to content

Backtesting strategies acting on order book #566

Answered by kernc
Kayne88 asked this question in Q&A
Discussion options

You must be logged in to vote

You could pass extra columns (such as columns of bid/ask order book objects) in the input data DataFrame to base orders upon, but if your strategy is such that it would in fact considerably influence the state of the order book (such as arbitrage), then I don't think this is the right framework. Nor would I recommend backtesting on tick data, but to have it, set O=H=L=C=price.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kayne88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants