Update api-trade-averages.py