diff --git a/src/cc/prices.cpp b/src/cc/prices.cpp index 130389702..ef0dfc680 100644 --- a/src/cc/prices.cpp +++ b/src/cc/prices.cpp @@ -796,7 +796,7 @@ void prices_betjson(UniValue &result, std::vector bets, int16_t leverag } int64_t equity = totalbets + totalprofits; - result.push_back(resultbets); + result.push_back(Pair("bets", resultbets)); result.push_back(Pair("leverage", (int64_t)leverage)); result.push_back(Pair("TotalPositionSize", totalbets)); result.push_back(Pair("TotalProfits", totalprofits));