781e77f413c1c2ea3ea04f114103ed27940f9002,finmarketpy/backtest/backtestengine.py,TradingModel,plot_individual_leverage,#TradingModel#,614
Before Change
style = self.create_style("Leverage", "Individual Leverage")
try:
self.chart.plot(self.reduce_plot(self._individual_leverage), chart_type="line", style=style)
except: pass
def plot_strategy_group_pnl_trades(self):
After Change
return data_frame
////////// Quick helper functions to plot aspects of the strategy such as P&L, leverage etc.
def plot_individual_leverage(self, silent_plot=False):
style = self.create_style("Leverage", "Individual Leverage")
try:
chart = Chart(self.reduce_plot(self._individual_leverage), engine=self.DEFAULT_PLOT_ENGINE, chart_type="line", style=style)
if not(silent_plot): chart.plot()
return chart
except: pass
def plot_strategy_group_pnl_trades(self, silent_plot = False):
In pattern: SUPERPATTERN
Frequency: 9
Non-data size: 9
Instances
Project Name: cuemacro/finmarketpy
Commit Name: 781e77f413c1c2ea3ea04f114103ed27940f9002
Time: 2016-10-11
Author: saeedamen@hotmail.com
File Name: finmarketpy/backtest/backtestengine.py
Class Name: TradingModel
Method Name: plot_individual_leverage
Project Name: cuemacro/finmarketpy
Commit Name: 781e77f413c1c2ea3ea04f114103ed27940f9002
Time: 2016-10-11
Author: saeedamen@hotmail.com
File Name: finmarketpy/backtest/backtestengine.py
Class Name: TradingModel
Method Name: plot_strategy_signal_proportion
Project Name: cuemacro/finmarketpy
Commit Name: 781e77f413c1c2ea3ea04f114103ed27940f9002
Time: 2016-10-11
Author: saeedamen@hotmail.com
File Name: finmarketpy/backtest/backtestengine.py
Class Name: TradingModel
Method Name: plot_strategy_signals
Project Name: cuemacro/finmarketpy
Commit Name: 781e77f413c1c2ea3ea04f114103ed27940f9002
Time: 2016-10-11
Author: saeedamen@hotmail.com
File Name: finmarketpy/backtest/backtestengine.py
Class Name: TradingModel
Method Name: plot_strategy_pnl
Project Name: cuemacro/finmarketpy
Commit Name: 781e77f413c1c2ea3ea04f114103ed27940f9002
Time: 2016-10-11
Author: saeedamen@hotmail.com
File Name: finmarketpy/backtest/backtestengine.py
Class Name: TradingModel
Method Name: plot_strategy_trade_no
Project Name: cuemacro/finmarketpy
Commit Name: 781e77f413c1c2ea3ea04f114103ed27940f9002
Time: 2016-10-11
Author: saeedamen@hotmail.com
File Name: finmarketpy/backtest/backtestengine.py
Class Name: TradingModel
Method Name: plot_strategy_leverage
Project Name: cuemacro/finmarketpy
Commit Name: 781e77f413c1c2ea3ea04f114103ed27940f9002
Time: 2016-10-11
Author: saeedamen@hotmail.com
File Name: finmarketpy/backtest/backtestengine.py
Class Name: TradingModel
Method Name: plot_strategy_group_leverage
Project Name: cuemacro/finmarketpy
Commit Name: 781e77f413c1c2ea3ea04f114103ed27940f9002
Time: 2016-10-11
Author: saeedamen@hotmail.com
File Name: finmarketpy/backtest/backtestengine.py
Class Name: TradingModel
Method Name: plot_strategy_group_benchmark_annualised_pnl
Project Name: cuemacro/finmarketpy
Commit Name: 781e77f413c1c2ea3ea04f114103ed27940f9002
Time: 2016-10-11
Author: saeedamen@hotmail.com
File Name: finmarketpy/backtest/backtestengine.py
Class Name: TradingModel
Method Name: plot_strategy_group_pnl_trades