Traceback (most recent call last):


 "trader.py", line 46, in <module>

t.run()


 "./app/Trading.py", line 469, in run

self.action(symbol)


 "./app/Trading.py", line 361, in action

self.sell(symbol, quantity, self.order_id, profitableSellingPrice, lastPrice)


 "./app/Trading.py", line 120, in sell

quantity = round(quantity, self.step_size)
TypeError: a float is required

Traceback (most recent call last):


 "/home/diogo/delete/venv/lib/python3.8/site-packages/curio/kernel.py", line 731, in kernel_run

trap = current.send(current._trap_result)


 "/home/diogo/delete/venv/lib/python3.8/site-packages/curio/task.py", line 171, in send

return self._send(value)


 "/home/diogo/delete/venv/lib/python3.8/site-packages/curio/task.py", line 175, in _task_runner

return await coro


 "curio_tutorial.py", line 21, in subscriber

async for msg in queue:
TypeError: 'async for' requires an object with __aiter__ method, got Queue
