trade_parse.hs now has working function to give SQL parameters