diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index 265827d58..38b95aa25 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -862,14 +862,14 @@ jpg(srcfile, destfile, power2=7, password, data="", required, ind=0)\n\ double price,bid,ask; if ( strcmp(method,"getprice") == 0 ) { - ask = LP_price(base,rel); + ask = LP_price(1,base,rel); if ( (bid= LP_price(1,rel,base)) > SMALLVAL ) bid = 1./bid; } else { ask = LP_getmyprice(1,base,rel); - if ( (bid= LP_getmyprice(rel,base)) > SMALLVAL ) + if ( (bid= LP_getmyprice(1,rel,base)) > SMALLVAL ) bid = 1./bid; } price = _pairaved(bid,ask);