jl777 7 years ago
parent
commit
e34234f954
  1. 2
      iguana/exchanges/LP_prices.c

2
iguana/exchanges/LP_prices.c

@ -971,7 +971,7 @@ char *LP_orderbook(char *base,char *rel,int32_t duration)
double LP_fomoprice(char *base,char *rel,double relvolume)
{
char *retstr; cJSON *retjson,*asks; int32_t i,numasks; double biggest,price,fomoprice = 0.;
char *retstr; cJSON *retjson,*asks,*item; int32_t i,numasks; double biggest,price,fomoprice = 0.;
if ( (retstr= LP_orderbook(base,rel,0)) != 0 )
{
if ( (retjson= cJSON_Parse(retstr)) != 0 )

Loading…
Cancel
Save