DS:Added a feature which calculates market trades in last N secs