diff --git a/iguana/exchanges/LP_prices.c b/iguana/exchanges/LP_prices.c index 6e1006391..ac9556f03 100644 --- a/iguana/exchanges/LP_prices.c +++ b/iguana/exchanges/LP_prices.c @@ -698,7 +698,7 @@ cJSON *LP_pricearray(char *base,char *rel,uint32_t firsttime,uint32_t lasttime,i bidsum = 0.; numbids = 0; } - if ( (bid= dstr(bidprice64)) != 0. ) + if ( (bid= 1. / dstr(bidprice64)) != 0. ) { if ( bid > highbid ) highbid = bid;