Trade in Python