Skip to content

Commit

Permalink
unify indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Feb 10, 2024
1 parent 5525f77 commit 7c8449c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apiserver/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,11 @@ def get_ticker_info(symbol, trend=False):
def get_info_by_ticker(tickers):
info = dict()
tickers = tickers.split(" ")

for ticker in tickers:
info[ticker] = format_number(get_ticker_info(ticker))
info[ticker + "_TREND"] = format_number(get_ticker_info(ticker, trend=True))

return info


Expand Down

0 comments on commit 7c8449c

Please sign in to comment.