finish the market simulator script