Update StockIndex.py

idk if indexes have to be capitalize
This commit is contained in:
Kirk 2021-03-04 13:03:59 -08:00 committed by GitHub
parent 0db7e23383
commit fb6a5766c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ class StockIndex(ModuleBase):
@info("vix", "get the current value of the vix/fear index", cmds=["vix"])
@command("vix", allow_private=True)
def cmd_vix(self, message, command):
self.send_quote("^vix", "VIX", message.replyto)
self.send_quote("^VIX", "VIX", message.replyto)
def send_quote(self, key, symbol, to):
index = self.cache[key]