ironed out minor bugs (calculations wrong way round) - also added in full dump of stock prices