fixed marketsim csv export
created analyze tool, verified results