DS:Updated codes for trade engine run