switched to komodo_pricesget
This commit is contained in:
@@ -472,7 +472,7 @@ int64_t prices_syntheticprice(std::vector<uint16_t> vec, int32_t height, int32_t
|
||||
{
|
||||
case 0: // indices
|
||||
pricestack[depth] = 0;
|
||||
if (prices_extract(pricedata, height, 1, value) == 0)
|
||||
if (komodo_priceget(pricedata, height, 1, value) == 0)
|
||||
{
|
||||
// push price to the prices stack
|
||||
if (!minmax)
|
||||
|
||||
@@ -101,7 +101,7 @@ int32_t komodo_dpowconfs(int32_t height,int32_t numconfs);
|
||||
int8_t komodo_segid(int32_t nocache,int32_t height);
|
||||
int32_t komodo_heightpricebits(uint64_t *seedp,uint32_t *heightbits,int32_t nHeight);
|
||||
char *komodo_pricename(char *name,int32_t ind);
|
||||
int32_t komodo_priceind(char *symbol);
|
||||
int32_t komodo_priceind(const char *symbol);
|
||||
int32_t komodo_pricesinit();
|
||||
int64_t komodo_priceave(int64_t *tmpbuf,int64_t *correlated,int32_t cskip);
|
||||
int64_t komodo_pricecorrelated(uint64_t seed,int32_t ind,uint32_t *rawprices,int32_t rawskip,uint32_t *nonzprices,int32_t smoothwidth);
|
||||
|
||||
@@ -2401,7 +2401,7 @@ char *komodo_pricename(char *name,int32_t ind)
|
||||
return(0);
|
||||
}
|
||||
// finds index for its symbol name
|
||||
int32_t komodo_priceind(char *symbol)
|
||||
int32_t komodo_priceind(const char *symbol)
|
||||
{
|
||||
char name[65]; int32_t i,n = (int32_t)(komodo_cbopretsize(ASSETCHAINS_CBOPRET) / sizeof(uint32_t));
|
||||
for (i=1; i<n; i++)
|
||||
|
||||
Reference in New Issue
Block a user