show holding value for each symbol

This commit is contained in:
dave 2020-04-09 13:16:35 -07:00
parent 2bdece8b9e
commit f6d1e0ba16
1 changed files with 3 additions and 2 deletions

View File

@ -377,9 +377,10 @@ class StockPlay(ModuleBase):
format_decimal(avgbuy),
*format_gainloss_inner(symprice - avgbuy, buychange),
"now",
format_decimal(symprice)])
format_decimal(symprice),
"({})".format(format_decimal(symprice * count))])
for line in tabulate(rows, justify=[False, True, True, False, False, False, True, False]):
for line in tabulate(rows, justify=[False, True, True, False, False, False, True, False, False]):
self.bot.act_PRIVMSG(dest, "{}: {}".format(sender, line), priority=5)
def build_report(self, nick):