API end point /api/bots/combo does not return today's profit

Bug info:

This entry is for /api/bots/combo end point

The end point call returns total profit correctly but always returns 0 even when Gainium dashboard shows deals closed and profit registered for today.

  • Bot URL →
  • [Optional] Steps to reproduce →
    Call /api/bots/combo for a bot that registered intra-day proitfs and check JSON key pairs:

“profit”: {
“freeTotal”: 0,
“freeTotalUsd”: 0,
“total”: 26.72438859739999,
“totalUsd”: 26.71642096232755,
“pureBase”: -3.2441699999999694,
“pureQuote”: 10.5498648078
},
“profitToday”: {
“start”: 0,
“end”: 0,
“totalToday”: 0,
“totalTodayUsd”: 0
},

  • Expected result →

Thank you for reporting this issue, Burak. We have received your detailed bug report regarding the /api/bots/combo endpoint not reflecting today’s profit despite profits being displayed on the dashboard. The issue has been noted, and we are currently investigating it. We’ll provide an update shortly once it’s resolved. Thank you for your patience!

Thank you for reporting this! The “profitToday” field in the API endpoint /api/bots/combo is a legacy field and is not updated, which is why it always shows 0 regardless of today’s profits. We recommend relying on the other profit fields in the response, such as total or totalUsd, for accurate profit information. Our team is working on improving the clarity of API documentation to avoid such confusion in the future.