Working with financial market data in Python