pricedata logging
This commit is contained in:
@@ -478,6 +478,7 @@ int64_t prices_syntheticprice(std::vector<uint16_t> vec, int32_t height, int32_t
|
|||||||
pricestack[depth] = 0;
|
pricestack[depth] = 0;
|
||||||
if (komodo_priceget(pricedata, value, height, 1) >= 0)
|
if (komodo_priceget(pricedata, value, height, 1) >= 0)
|
||||||
{
|
{
|
||||||
|
std::cerr << "prices_syntheticprice" << " pricedata[0]=" << pricedata[0] << " pricedata[1]=" << pricedata[1] << " pricedata[2]=" << pricedata[2] << std::endl;
|
||||||
// push price to the prices stack
|
// push price to the prices stack
|
||||||
if (!minmax)
|
if (!minmax)
|
||||||
pricestack[depth] = pricedata[2]; // use smoothed value if we are over 24h
|
pricestack[depth] = pricedata[2]; // use smoothed value if we are over 24h
|
||||||
|
|||||||
Reference in New Issue
Block a user