Python version for stock trace