was indexing the price array wrong. all working now. Just need to output to csv and create analyze.py