Here are the problematic parts of my code. I'm just trying to implement a basic stop loss/take profit based off of my entry price. 

 

 

self.stopLossPercent = 0.99
self.profitTargetPercent = 1.02
       
self.btcbusd = self.AddCrypto("BTCBUSD", Resolution.Minute, Market.Binance).Symbol
self.currentPrice = self.AddCrypto("BTCBUSD", Resolution.Minute, Market.Binance)

 

marketOrderTicket = self.StopMarketOrder(self.btcbusd, -1, self.currentPrice * (self.stopLossPercent))         limitOrderTicket = self.LimitOrder(self.btcbusd, -1, self.currentPrice * (self.profitTargetPercent))

 

Runtime Error: Trying to perform a summation, subtraction, multiplication or division between 'Crypto' and 'float' objects throws a TypeError exception. To prevent the exception, ensure that both values share the same type.
at OnData
marketOrderTicket = self.StopMarketOrder(self.btcbusd in main.py: line 30 (Open Stacktrace)