Refactor Predictor and market data handling
- Added Predictor class with input preparation and instructions for financial strategy generation. - Removed PredictorAgent class and integrated its functionality into the new Predictor module. - Created a base market API wrapper and specific implementations for Coinbase and CryptoCompare. - Introduced PublicBinanceAgent for fetching public prices from Binance. - Refactored ToolAgent to utilize the new Predictor and market API wrappers for improved data handling and predictions. - Updated models to streamline the selection of available LLM providers. - Removed deprecated signer classes for Coinbase and CryptoCompare.
This commit is contained in:
15
.env.example
15
.env.example
@@ -1,3 +1,7 @@
|
||||
###########################################################################
|
||||
# Configurazioni per i modelli di linguaggio
|
||||
###############################################################################
|
||||
|
||||
# Alcune API sono a pagamento, altre hanno un piano gratuito con limiti di utilizzo
|
||||
# Vedi https://docs.agno.com/examples/models per vedere tutti i modelli supportati
|
||||
GOOGLE_API_KEY=
|
||||
@@ -8,17 +12,18 @@ GOOGLE_API_KEY=
|
||||
# wsl: /usr/share/ollama/.ollama
|
||||
OLLAMA_MODELS_PATH=
|
||||
|
||||
###############################################################################
|
||||
# Configurazioni per gli agenti di mercato
|
||||
###############################################################################
|
||||
|
||||
# Coinbase CDP API per Market Agent
|
||||
# Ottenibili da: https://portal.cdp.coinbase.com/access/api
|
||||
CDP_API_KEY_NAME=organizations/your-org-id/apiKeys/your-key-id
|
||||
CDP_API_PRIVATE_KEY=-----BEGIN EC PRIVATE KEY-----
|
||||
YOUR_ACTUAL_PRIVATE_KEY_HERE
|
||||
-----END EC PRIVATE KEY-----
|
||||
CDP_API_KEY_NAME=
|
||||
CDP_API_PRIVATE_KEY=
|
||||
|
||||
# CryptoCompare API per Market Agent (alternativa)
|
||||
# Ottenibile da: https://www.cryptocompare.com/cryptopian/api-keys
|
||||
CRYPTOCOMPARE_API_KEY=
|
||||
CRYPTOCOMPARE_AUTH_METHOD=query
|
||||
|
||||
# Binance API per Market Agent (alternativa)
|
||||
BINANCE_API_KEY=
|
||||
|
||||
Reference in New Issue
Block a user