finish stockrun.py