Neural Networks, Deep Learning, Data Science, Algorithmic Trading, Cryptocurrency Investment.
# 2.5% take-profit sl_price = self.data.Close[-1] * (1 + sl_pct) tp_price = self.data.Close[-1] * (1 - tp_pct) self.sell(sl=sl_price, tp=tp_price) bt_11 = Backtest(df_ens, MyCandlesStrat_11, cash=100000, commission=.001) stat_11 = bt_11.run() stat_11 backtest results for Transformer Neural Network