http://mmgen55rtcahqfp2hn3v7syqv2wqanks5oeezqg3ykwfkebmouzjxlad.onion/project/mmgen/mmgen-node-tools/commit/e7fcc00b95a9631b26d2e2c9d6cda23103958fe7
= 'USD': + usdprice = Decimal(self.data[asset.id]['price_usd']) + yield '{} ({}) = {:{}.{}f} USD'.format( + asset.symbol, + self.create_label(asset.id), + usdprice, + self.comma, + max(2,int(-usdprice.adjusted())+4) ) + + if hasattr(self,'subhdr'): + yield self.subhdr + + if self.show_adj: + yield ( + ('Offered price differs from spot' if self.offer else 'Adjusting prices') + + ' by ' + + yellow('{:+.2f}%'.format( (self.adjust-1) * 100 )) + ) +...