Commit Graph

4 Commits

Author SHA1 Message Date
adad553a65 feat: Binance WS, news client, and social client
Add ThreadedWebsocketManager-based BinanceWSClient for real-time price
streaming, NewsClient for CryptoPanic/NewsAPI fetching with coin filtering,
and SocialClient for Reddit post retrieval with keyword filtering and
simple keyword-based sentiment scoring. Includes unit tests for news and
social clients (4/4 passing).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 17:48:12 +09:00
ffada928f2 Add database layer with SQLite schema, ORM-style Database class, and tests
Implements Task 2: creates db/schema.sql with five tables (signals, trades,
positions, portfolio, settings) and indexes; data/db.py with a Database class
covering all CRUD operations; tests/test_db.py with 6 passing pytest tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 17:47:34 +09:00
45a39e78c4 Add Binance REST client with OHLCV, ticker, and volume methods
Implements BinanceRestClient wrapping python-binance with get_top_coins,
get_ohlcv, get_all_prices, and get_24h_volume. Includes mocked unit tests
for all public methods.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 17:47:04 +09:00
1a241e8b7b Add project setup: dependencies, config, and package scaffolding
- requirements.txt with all core dependencies (streamlit, binance, ta, anthropic, praw, etc.)
- .env.example template for all required API keys
- .gitignore covering secrets, caches, db files, and logs
- config.py loading env vars with trading defaults and signal weights
- tests/conftest.py with sys.path fix for imports
- Empty __init__.py files for tests, data, agents, engine, dashboard, scheduler packages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 17:44:45 +09:00