Update marketSim.c