Update trading.py