3 market api #8

Merged
Simo93-rgb merged 25 commits from 3-market-api into main 2025-10-01 15:51:25 +02:00

25 Commits

Author SHA1 Message Date
Giacomo Bertolazzi
66d2838df3 Final review
- rm PublicBinanceAgent & updated demo
- moved in the correct folder some tests
- fix binance bug
2025-10-01 13:50:19 +00:00
Simone Garau
31057007fb Finito ISSUE 3 2025-10-01 13:01:51 +02:00
e8bf835fb3 Add BinanceWrapper to market API exports 2025-09-30 17:37:36 +02:00
f7dec6fdb6 Refactor market API wrappers to streamline product and price retrieval methods 2025-09-30 17:30:14 +02:00
754d43771d Merge branch '2-news-api' into 3-market-api 2025-09-30 17:30:01 +02:00
a5ef982e12 Fixes
- separated tests
- fix tests
- fix bugs reintroduced my previous merge
2025-09-30 16:38:25 +02:00
3074b58ea5 Fix import statements 2025-09-30 15:58:52 +02:00
7c61b311aa Merge branch '2-news-api' into 3-market-api 2025-09-30 15:50:49 +02:00
Simone Garau
8304cf9ea8 pre merge con giacomo 2025-09-30 15:36:50 +02:00
43b2bddba5 Add Reddit API wrapper and related tests; update environment configuration 2025-09-30 15:36:37 +02:00
c1952526ad Fix class and test method names for DuckDuckGoWrapper 2025-09-30 12:54:19 +02:00
15182e23c2 Refactor try_call_all method to return a dictionary of results; update tests for success and partial failures 2025-09-30 12:41:45 +02:00
trojanhorse47
cce09b493e Merge remote-tracking branch 'origin/3-market-api' into tool
# Conflicts:
#	src/app.py
#	src/app/agents/market_agent.py
#	src/app/markets/__init__.py
#	src/app/markets/coinbase.py
#	src/app/markets/cryptocompare.py
#	src/app/pipeline.py
#	tests/agents/test_market.py
#	tests/agents/test_predictor.py
2025-09-30 12:37:46 +02:00
trojanhorse47
fcbb312d08 - Refactor struttura progetto: divisione tra agent e toolkit 2025-09-30 12:28:44 +02:00
dfe3b4ad90 Add DuckDuckGo and Google News wrappers; refactor CryptoPanic and NewsAPI
- Implemented DuckDuckGoWrapper for news retrieval using DuckDuckGo tools.
- Added GoogleNewsWrapper for accessing Google News RSS feed.
- Refactored CryptoPanicWrapper to unify get_top_headlines and get_latest_news methods.
- Updated NewsApiWrapper to simplify top headlines retrieval.
- Added tests for DuckDuckGo and Google News wrappers.
- Enhanced documentation for CryptoPanicWrapper and NewsApiWrapper.
- Created base module for social media integrations.
2025-09-30 12:24:43 +02:00
Simone Garau
fb38aef790 pre merge con phil 2025-09-30 12:11:10 +02:00
40fb400a9c Enhance WrapperHandler
- docstrings
- add try_call_all method
- update tests
2025-09-30 11:46:52 +02:00
912a9b9c8d Implement WrapperHandler for managing multiple news API wrappers; add tests for wrapper functionality 2025-09-30 02:55:09 +02:00
6aa9d4969f Add CryptoPanic API integration and related tests; update .env.example and test configurations 2025-09-30 01:54:26 +02:00
c17a948ae0 Refactor news API integration to use NewsApiWrapper and GnewsWrapper; add tests for Gnews API functionality 2025-09-30 00:34:07 +02:00
Simone Garau
dfca44c9d5 ToDo:
1. Aggiungere un aggregator per i dati recuperati dai provider.
2. Lavorare effettivamente all'issue

Done:
1. creati test per i provider
2. creato market_providers_api_demo.py per mostrare i dati recuperati dalle api dei providers
3. aggiornato i provider
4. creato il provider binance sia pubblico che con chiave
5. creato error_handler.py per gestire decoratori e utilità: retry automatico, gestione timeout...
2025-09-29 21:28:41 +02:00
fc4753a245 Add news API functionality and update tests for article retrieval 2025-09-29 19:21:08 +02:00
badd3e2a6c Add news API integration and related configurations
- Update .env.example to include NEWS_API_KEY configuration
- Add newsapi-python dependency in pyproject.toml
- Implement NewsAPI class for fetching news articles
- Create Article model for structured news data
- Add tests for NewsAPI functionality in test_news_api.py
- Update pytest configuration to include news marker
2025-09-29 15:15:18 +02:00
2be9e0f319 Update pytest configuration and dependencies in pyproject.toml 2025-09-29 14:39:31 +02:00
trojanhorse47
c82f10b32c Creazione branch tool, refactor degli import e soppressione dei warning 2025-09-29 12:22:02 +02:00