Two interesting ideas here:
- “trading time”
- price impact of a trade proportional to
exp( √size )
require(quantmod) getSymbols("MER") #Merrill Lynch #Gatheral's model HiLo
(This doesn’t run as is. I think you can fix that by combining the ggplot pieces differently. I just gave the pieces semantic names combing through my history.