Earlier quoted context omitted.
Checked the GitHub. > Many people are reporting losses in live trading even if the simulation results and/or paper trading is positive. Someone's missing the big picture.
Oh, the issues from that repo are entertaining. This issue alone should be enough to make the case that you shouldn't build a production trading system in JavaScript. https://github.com/DeviaVir/zenbot/issues/1037
The non-truthiness of 0 is something present in many languages.