This commit is contained in:
jl777
2019-04-02 02:24:31 -11:00
parent 57b769c44d
commit 8e84d8e0ea
2 changed files with 4 additions and 4 deletions

View File

@@ -1245,8 +1245,8 @@ 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]*j<36?10000:1));
parr.push_back(ValueFromAmount((int64_t)prices[offset]*j<36?10000:1));
parr.push_back(ValueFromAmount(correlated[i]));
parr.push_back(ValueFromAmount(smoothed));
p.push_back(parr);
}