show holding value for each symbol
This commit is contained in:
parent
2bdece8b9e
commit
f6d1e0ba16
|
@ -377,9 +377,10 @@ class StockPlay(ModuleBase):
|
||||||
format_decimal(avgbuy),
|
format_decimal(avgbuy),
|
||||||
*format_gainloss_inner(symprice - avgbuy, buychange),
|
*format_gainloss_inner(symprice - avgbuy, buychange),
|
||||||
"now",
|
"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)
|
self.bot.act_PRIVMSG(dest, "{}: {}".format(sender, line), priority=5)
|
||||||
|
|
||||||
def build_report(self, nick):
|
def build_report(self, nick):
|
||||||
|
|
Loading…
Reference in New Issue