How sahniaditya007/crypto-pilot-ai-models works
Crypto Bot exposes three analysis workflows: sentiment-driven recommendations, iceberg-order detection, and cross-exchange arbitrage scanning. Users can initiate them through the CLI or web demo; the README also documents direct module entry points. The sentiment workflow collects news, social, and market inputs for analysis and recommendation generation, while iceberg detection evaluates order-book patterns and arbitrage compares live exchange prices before optional orders. Sampled source confirms the sentiment collector and recommender are constructed by its pipeline and the interface dispatches to modules; some intermediate sentiment-stage wiring is documented but unsampled.
Main entry points: cli.py CLI commands · arbitrage_checker.py Arbitrage scanner · main.py Sentiment pipeline · iceberg_detector.py Order-book detector
Components 21
User interfaces
- CLI commands
cli.py - Web demo API
main.py
Sentiment analysis
- Sentiment pipeline
src/sentiment/main.py - Data collection
src/sentiment/data_collection.py - Sentiment scoring
src/sentiment/sentiment_analysis.py - Market trends
src/sentiment/market_analysis.py - Price prediction
src/sentiment/prediction_generation.py - Model training
src/sentiment/model_training.py - Model evaluation
src/sentiment/evaluation_metrics.py - Recommendations
src/sentiment/recommendation_system.py
Iceberg detection
- Iceberg runner
src/iceberg/run_prediction.py - Order-book detector
src/iceberg/iceberg_detector.py
Arbitrage scanning
- Arbitrage scanner
src/arbitrage/arbitrage_checker.py - Binance connection
src/arbitrage/binance_connect.py - Order-book fetcher
src/arbitrage/fetch_order_book.py
Other components
- User
- News and social APIs
- Market data APIs
- Exchange order books
- Binance
- Kraken
Connections 22
- User → CLI commands: runs command
- User → Web demo API: uses demo
- CLI commands → Sentiment pipeline: runs recommendations
- CLI commands → Order-book detector: runs detection
- CLI commands → Arbitrage scanner: starts scanner
- Web demo API → Sentiment pipeline: requests recommendations
- Web demo API → Order-book detector: requests demo
- Sentiment pipeline → Data collection: collects data
- Sentiment pipeline → Recommendations: gets recommendations
- Data collection → News and social APIs: fetches content
- Data collection → Market data APIs: fetches metrics
- Sentiment scoring → News and social APIs: scores content
- Market trends → Market data APIs: analyzes metrics
- Price prediction → Market data APIs: uses market data
- Recommendations → Market data APIs: loads listings
- Iceberg runner → Order-book detector: runs prediction
- Order-book detector → Exchange order books: fetches order book
- Arbitrage scanner → Binance: fetches prices; places orders
- Arbitrage scanner → Kraken: fetches prices; places orders
- Arbitrage scanner → Exchange order books: reads order books
- Binance connection → Binance: fetches ticker
- Order-book fetcher → Binance: fetches order book