Analyze the trade performance of algorithm.
Calculate success/fail rate of trades and plot success distribution.
Example analysis include:
Table: Summary of all trades
Graph: Trade won/lost distribution
Timeline: Analysis of each individual trades made
A lot of this code has been lifted off from trading-strategy package where it had to deal with different trading frameworks. It could be simplified greatly now.