_market_data.py clean up