iQuant3.py modify