Create getpreviousprices.py