mirror of
https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git
synced 2025-06-16 15:06:53 +00:00
Update symbol_router.py
This commit is contained in:
parent
a9eaf7c6db
commit
0577018284
@ -30,7 +30,7 @@ class Router:
|
|||||||
|
|
||||||
def trending_decay(self, decay=0.5):
|
def trending_decay(self, decay=0.5):
|
||||||
"""Decays the value of each trending stock by a multiplier"""
|
"""Decays the value of each trending stock by a multiplier"""
|
||||||
|
t_copy = {}
|
||||||
if self.trending_count:
|
if self.trending_count:
|
||||||
t_copy = self.trending_count.copy()
|
t_copy = self.trending_count.copy()
|
||||||
for key in t_copy.keys():
|
for key in t_copy.keys():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user