adding initial (likely broken) version of trade_parse.hs