trading markets – programming in python