Refactored most of the statistics into a TransactionAggregate class.
Fixed some bugs that were introduced lately due to refactoring.
Trade summary: Implemented balance graph.
Placed all trade statistics in a TradeAggregate class.
Fixed a bug that prevented adding new orders.