mirror of
https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git
synced 2026-06-03 21:10:27 +00:00
Update symbol_router.py
This commit is contained in:
+1
-1
@@ -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():
|
||||||
|
|||||||
Reference in New Issue
Block a user