update timeline
All checks were successful
SonarQube Scan / SonarQube Trigger (push) Successful in 1m42s

This commit is contained in:
dongho
2024-12-20 00:37:42 +09:00
parent ce4a6358cf
commit b4d9bcee51

View File

@ -109,7 +109,7 @@ class TradeBot(object):
for coin in self.interest_coins:
data = {}
data["price"] = self._get_market_price(symbol=coin + self.base)
data["timestamp"] = self._get_current_time()
data["timestamp"] = self._get_current_time().strftime("%Y/%m/%d, %H:%M:%S")
self.mdb.insert_coin_price(collection_name=coin, document=data)
def get_account_balance(self):