finish stockcrf.py