6003d189851dd4ccef529791c49ebcc3f983e4c3,pythalesians/backtest/popular/strategytemplate.py,StrategyTemplate,plot_strategy_pnl,#StrategyTemplate#,351
Before Change
def plot_strategy_pnl(self):
pf = PlotFactory()
gp = GraphProperties()
gp.title = self.FINAL_STRATEGY
gp.display_legend = True
gp.scale_factor = self.SCALE_FACTOR
gp.file_output = self.DUMP_PATH + self.FINAL_STRATEGY + " (Strategy PnL).png"
try:
pf.plot_line_graph(self.reduce_plot(self._strategy_pnl), adapter = "pythalesians", gp = gp)
except: pass
After Change
pf.plot_line_graph(self.reduce_plot(strategy_pnl_trades), adapter = "pythalesians", gp = gp)
except: pass
def plot_strategy_pnl(self):
pf = PlotFactory()
gp = self.create_graph_properties("", "Strategy PnL")
try:
pf.plot_line_graph(self.reduce_plot(self._strategy_pnl), adapter = "pythalesians", gp = gp)
except: pass
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 16
Instances
Project Name: cuemacro/finmarketpy
Commit Name: 6003d189851dd4ccef529791c49ebcc3f983e4c3
Time: 2016-07-21
Author: saeedamen@hotmail.com
File Name: pythalesians/backtest/popular/strategytemplate.py
Class Name: StrategyTemplate
Method Name: plot_strategy_pnl
Project Name: cuemacro/finmarketpy
Commit Name: 6003d189851dd4ccef529791c49ebcc3f983e4c3
Time: 2016-07-21
Author: saeedamen@hotmail.com
File Name: pythalesians/backtest/popular/strategytemplate.py
Class Name: StrategyTemplate
Method Name: plot_strategy_group_benchmark_pnl
Project Name: cuemacro/finmarketpy
Commit Name: 6003d189851dd4ccef529791c49ebcc3f983e4c3
Time: 2016-07-21
Author: saeedamen@hotmail.com
File Name: pythalesians/backtest/popular/strategytemplate.py
Class Name: StrategyTemplate
Method Name: plot_strategy_pnl
Project Name: cuemacro/finmarketpy
Commit Name: 6003d189851dd4ccef529791c49ebcc3f983e4c3
Time: 2016-07-21
Author: saeedamen@hotmail.com
File Name: pythalesians/backtest/popular/strategytemplate.py
Class Name: StrategyTemplate
Method Name: plot_strategy_group_benchmark_annualised_pnl