importable market simulator for python