BUG: Perf tracker should emit perf messages only for TRADE events
TST: When comparing dicts, ensure they have the same keys.

dict 'b' might have more keys.