This commit is contained in:
jl777
2019-04-02 01:54:47 -11:00
parent a18d49991b
commit 0cf34a56f9
2 changed files with 5 additions and 5 deletions

View File

@@ -1245,9 +1245,9 @@ UniValue prices(const UniValue& params, bool fHelp)
offset = j*width + i;
smoothed = komodo_pricesmoothed(&correlated[i],daywindow);
UniValue parr(UniValue::VARR);
parr.push_back(ValueFromAmount((int64_t)prices[offset]*10000));
parr.push_back(ValueFromAmount(correlated[i]));
parr.push_back(ValueFromAmount(smoothed));
parr.push_back(((int64_t)prices[offset]*10000));
parr.push_back((correlated[i]));
parr.push_back((smoothed));
p.push_back(parr);
}
item.push_back(Pair("prices",p));