rewrite timer logic
rewrite timer logic

Now it is single shot, restarts at the end of onTimer()

Signed-off-by: Victor Shcherbinin <8344eb9903b855e542dbc983faef8b3203318f41@gmail.com>

victorshch/pytrader