added ability to commit to database to trade_parse.hs