This commit is contained in:
aaron 2025-06-11 15:09:27 +08:00
parent 481be44cf5
commit ad890179a6
2 changed files with 7 additions and 4 deletions

View File

@ -88,7 +88,7 @@ def analyze_symbol(symbol, interval='1h', limit=1000):
'得分': 0
}
if __name__ == "__main__":
def main():
# 执行分析
results = [analyze_symbol(sym) for sym in top_symbols]
df_result = pd.DataFrame(results)
@ -169,4 +169,7 @@ if __name__ == "__main__":
border_style="blue"
)
console.print("\n")
console.print(info_panel)
console.print(info_panel)
if __name__ == "__main__":
main()

View File

@ -1,5 +1,5 @@
from cryptoai.agents.crypto_agent import CryptoAgent
import cryptoai.tasks.token_selector as token_selector
if __name__ == "__main__":
agent = CryptoAgent()
agent.start_agent()
token_selector.main()