Traceback (most recent call last):


 "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap

self.run()


 "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run

self._target(*self._args, **self._kwargs)


 "/usr/local/lib/python3.8/dist-packages/dglke/models/pytorch/tensor_models.py", line 77, in decorated_function

raise exception.__class__(trace)
TypeError: Traceback (most recent call last):

Traceback (most recent call last):


 "C:\ProgramData\Miniconda3\lib\threading.py", line 916, in _bootstrap_inner

self.run()


 "C:\ProgramData\Miniconda3\lib\threading.py", line 864, in run

self._target(*self._args, **self._kwargs)


 "./app\Trading.py", line 417, in action

self.logger.debug('price:%.8f buyprice:%.8f sellprice:%.8f bid:%.8f ask:%.8f spread:%.2f
Originalsellprice:%.8f' % (lastPrice, buyPrice, profitableSellingPrice, lastBid, lastAsk, spreadPerc, profitableSellingPrice-(lastBid *self.commision)
))
TypeError: must be real number, not NoneType
