tudorelu / pyjuque

⚡ Open Source Algorithmic Trading Bot for Python.
MIT License
456 stars 90 forks source link

TypeError When setting `entry_settings` -> `signal_distance` = 0 #20

Open phpprabhu opened 2 years ago

phpprabhu commented 2 years ago

https://github.com/tudorelu/pyjuque/blob/6d6ae358b49f29ad5840ad000891909f3b029a41/pyjuque/Engine/BotController.py#L106

Get error, when entry_settings -> signal_distance = 0

quantity = quote_qty / desired_price TypeError: unsupported operand type(s) for /: 'decimal.Decimal' and 'NoneType'