continued working on trading engine