Machine Learning, Deep Learning, Cryptocurrency Investment, Algorithmic Trading, Neural Networks.
self.trades[0].entry_time).total_seconds() * 0.0166>= 950): self.position.close() elif (self.signal1 == 2): sl_price = self.data.Close[-1] * (1 + (self.sl_pct_s * 0.001)) tp_price = self.data.Close[-1] * (1 - (self.tp_pct_s * 0.001)) limit_price_s = tp_price * 1.004 self.position.is_short