|
|
@ -2100,7 +2100,7 @@ UniValue PricesGetOrderbook() |
|
|
|
if (book[i].isOpen) { |
|
|
|
int64_t t = 0; |
|
|
|
for (auto b : book[i].bets) t += b.positionsize; |
|
|
|
std::cerr << "book[i].exp=" << prices_getsourceexpression(book[i].vecparsed) << " totalpos=" << t << " equity=" << book[i].equity << std::endl; |
|
|
|
std::cerr << "book[i].=" << book[i].txid.GetHex() << " exp=" << prices_getsourceexpression(book[i].vecparsed) << " totalpos=" << t << " equity=" << book[i].equity << std::endl; |
|
|
|
totalliabilities += book[i].equity; |
|
|
|
} |
|
|
|
} |
|
|
|