Start with the Wikipedia article on VPIN, and also check out the first reference in vpin/README.txt. The other articles may offer helpful supplementary data or alternative perspectives.
I have read your RScripts/parser.R file. How does it perform? What kind of data do you get? Are the outputs sensible?
Is it correct to assign a sell when price == prev_price? Further, I think the pap…