update
This commit is contained in:
parent
481be44cf5
commit
ad890179a6
@ -88,7 +88,7 @@ def analyze_symbol(symbol, interval='1h', limit=1000):
|
|||||||
'得分': 0
|
'得分': 0
|
||||||
}
|
}
|
||||||
|
|
||||||
if __name__ == "__main__":
|
def main():
|
||||||
# 执行分析
|
# 执行分析
|
||||||
results = [analyze_symbol(sym) for sym in top_symbols]
|
results = [analyze_symbol(sym) for sym in top_symbols]
|
||||||
df_result = pd.DataFrame(results)
|
df_result = pd.DataFrame(results)
|
||||||
@ -169,4 +169,7 @@ if __name__ == "__main__":
|
|||||||
border_style="blue"
|
border_style="blue"
|
||||||
)
|
)
|
||||||
console.print("\n")
|
console.print("\n")
|
||||||
console.print(info_panel)
|
console.print(info_panel)
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
4
test.py
4
test.py
@ -1,5 +1,5 @@
|
|||||||
from cryptoai.agents.crypto_agent import CryptoAgent
|
from cryptoai.agents.crypto_agent import CryptoAgent
|
||||||
|
import cryptoai.tasks.token_selector as token_selector
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
agent = CryptoAgent()
|
token_selector.main()
|
||||||
agent.start_agent()
|
|
||||||
Loading…
Reference in New Issue
Block a user