crypto-rag: Access market data from 6 exchanges and on-chain data in one go without API keys
iamzulx/crypto-rag
About the project
This is a hybrid RAG system that simultaneously processes cryptocurrency market data and conceptual explanations. Real-time figures such as price, market cap, and funding rates are fetched directly at query time rather than stored in a vector store, fundamentally preventing LLM hallucinations.
It queries spot prices from 6 exchanges including Binance and OKX, along with on-chain metrics such as DefiLlama's TVL and the Fear & Greed Index, without requiring API keys. It searches over 146 Korean concept datasets using Reciprocal Rank Fusion combining BM25 and Dense Embedding, and re-ranks with a Cross-encoder when necessary.
It operates in chat mode within the terminal, supporting conditional alerts like 'BTC>65000' and portfolio P/L tracking. If an OpenAI-compatible endpoint is configured, it returns natural language synthesized answers; otherwise, it returns extractive answers to minimize dependencies.
iamzulx/crypto-rag
Asisten crypto berbahasa Indonesia: RAG pengetahuan 267 topik + data pasar realtime (6 bursa, WebSocket, derivatif, on-chain, TVL, DeFi) + tool-calling agent + LLM synthesis
Python