marketsimulator changes +analyze.py