|
@ -617,6 +617,7 @@ double _LP_getestimatedrate(struct iguana_info *coin) |
|
|
rate *= 1.25; |
|
|
rate *= 1.25; |
|
|
if ( coin->electrum != 0 ) |
|
|
if ( coin->electrum != 0 ) |
|
|
rate *= 1.25; |
|
|
rate *= 1.25; |
|
|
|
|
|
if ( fabs(rate - coin->rate) > SMALLVAL ) |
|
|
printf("t%u estimated rate.(%s) (%s) -> %.8f %.8f\n",coin->ratetime,coin->symbol,retstr,rate,coin->rate); |
|
|
printf("t%u estimated rate.(%s) (%s) -> %.8f %.8f\n",coin->ratetime,coin->symbol,retstr,rate,coin->rate); |
|
|
coin->rate = rate; |
|
|
coin->rate = rate; |
|
|
coin->ratetime = (uint32_t)time(NULL); |
|
|
coin->ratetime = (uint32_t)time(NULL); |
|
|