1. [BF] should convert ticker to integer in get_sub_category
2. minor code refine
don't save statements to local disk before fixing bug of file parsing