Deal Recorder records bid and ask values, margin, balance, equity and credit of the account at the moment of each trade deal happening in each trade account of MetaTrader within certain groups.
It serves multiple purposes. For example, based on bis/ask data, you can calculate commissions for your clients.