Hello,

I get a strange error message here that I don't understand. Why is it a problem to calculate 2 decimals with each other? Does anyone have an idea?

Thanks!

Thom

self.lastPrice = Decimal(data['EURUSD'].Close)
self._limitTicket = self.LimitOrder('EURUSD', 5000, self.lastPrice * Decimal(0.9999), "limit order")

Runtime Error: Trying to perform a summation, subtraction, multiplication or division between 'Decimal' and 'Decimal' objects throws a TypeError exception. To prevent the exception, ensure that both values share the same type.
at OnData in main.py:line 62
TypeError : unsupported operand type(s) for *: 'Decimal' and 'Decimal' (Open Stacktrace)