1b618ab4f8bde589fdcb1bcfb7f9acaba3ce3f81,finmarketpy/backtest/backtestengine.py,TradingModel,plot_strategy_pnl,#TradingModel#,1485

Before Change


                df.to_csv(self.DUMP_PATH + self.FINAL_STRATEGY + "_pnl.csv")

            return chart
        except:
            pass

    def plot_strategy_trade_no(self, strip=None, silent_plot=False, reduce_plot=True, resample="B"):

After Change


                df.to_csv(self.DUMP_PATH + self.FINAL_STRATEGY + "_pnl.csv")

            return chart
        except Exception as e:
            print(str(e))

    def plot_strategy_trade_no(self, strip=None, silent_plot=False, reduce_plot=True, resample="B"):
        df_trades = self._strategy_trade_no
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: cuemacro/finmarketpy
Commit Name: 1b618ab4f8bde589fdcb1bcfb7f9acaba3ce3f81
Time: 2018-09-19
Author: saeedamen@hotmail.com
File Name: finmarketpy/backtest/backtestengine.py
Class Name: TradingModel
Method Name: plot_strategy_pnl


Project Name: chakki-works/doccano
Commit Name: 20d16c8ea80731031c185b5a8c9b0adf6fb81aed
Time: 2020-05-22
Author: christiangill14@gmail.com
File Name: app/server/management/commands/create_admin.py
Class Name: Command
Method Name: handle


Project Name: KrishnaswamyLab/PHATE
Commit Name: 571a8420247fc8c1cd744c63948c00c5fded0db0
Time: 2018-06-07
Author: scottgigante@gmail.com
File Name: Python/phate/preprocessing.py
Class Name:
Method Name: library_size_normalize


Project Name: lebedov/scikit-cuda
Commit Name: 4b842e478b82102e6c24017f2833416c4cafc95f
Time: 2014-10-31
Author: lev@columbia.edu
File Name: scikits/cuda/cublas.py
Class Name:
Method Name: _get_cublas_version


Project Name: openai/gym
Commit Name: aa3e02992607290531c0744901b93e8012cb8b6d
Time: 2019-03-22
Author: christopherhesse@users.noreply.github.com
File Name: gym/utils/play.py
Class Name:
Method Name: