Machine Learning, Deep Learning, Cryptocurrency Investment, Algorithmic Trading, Neural Networks.
self.entry_time = Timestamp.now() self.max_profit = 0 def next(self): super().next() if (self.signal1 == 1): sl_price = self.data.Close[-1] * (1 - (self.sl_pct_l * 0.001)) tp_price = self.data.Close[-1] * (1 + (self.tp_pct_l * 0.001)) limit_price_l = tp_price * 0.994 self.position.is_long