Paul, nice idea but it won’t work in practice. You are trying to beat the market maker, which is unless you are faster, has no edge. Try it yourself and see. In addition theoretical execution (deterministic close price in simulation) is never equals to the price you get (MKT order out).

--

Traveling Trader

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store