Position closed even take profit condition was not met yet

Bug info: My bot has take profit condition set on BB %B percentile rank greater than > 90% but bot closed position even before this condition was met here is screenshot where it closed deal and it happened two times today

  • Bot URL → orderId: x-zy1FRpEGD-TP-Qp9owbHeUJwuzeedjDMR, symbol: NEARUSDT
  • [Optional] Steps to reproduce →
  • Expected result →

This was fixed a few days ago, I forgot to update this thread. Maksym:

It happened just after indicators service restart that I’ve made. Because of long initial start time and fixed candle stream, some indicators started to process candle stream data before history data processed. I added a fix.

Current bot values are accurate. I wont restart service right now, because the problem should be at service start. However, it might be the reason of [TTP problems] when bot closed deal unexpectedly. I will restart indicators service with next bot service restart

2 Likes