Machine Learning, Deep Learning, Cryptocurrency Investment, Algorithmic Trading, Neural Networks.
self.trades[0].entry_time).total_seconds() * 0.0166>= 950): self.position.close() # Run backtest bt_3 = Backtest(df_ens, MyCandlesStrat_3, cash=100000, commission=.001, margin= (1/MyCandlesStrat_3.margin_leverage), exclusive_orders=False) stat_3 = bt_3.run() print("backtest one done at 226 line -