anti-gambling-trader-tw
Free open-source investment anti-fraud, trading statistics and automated trading program tools: default PaperBroker, provides 14 broker/exchange options; trade record analysis runs locally.
AI translation
Search Indian IPO prospectuses and get page‑cited answers about revenue, risks, and filing details
Translation pending
AI summary · website content
FinancePython · HTMLGitHub @SunitSinghDhaliwalOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗An Agentic RAG system designed for Indian IPO prospectuses (Draft Red Herring Prospectus [DRHP] and Red Herring Prospectus [RHP]). Features page-cited evidence attribution, deterministic financial calculation tools, domain-specialized LangGraph agents, version-aware comparative analysis, and 100% cross-IPO tenant isolation.
BAAI/bge-base-en-v1.5), sparse lexical search (BM25Okapi), Reciprocal Rank Fusion (RRF), and Cross-Encoder Reranking (BAAI/bge-reranker-base).
Evaluated on a hand-labelled set of 16 queries over the MOEL DRHP (data/corrected_benchmark_results.json):
| Method | Hit@5 | Hit@10 |
|---|---|---|
| BM25 only | 50.0% (8/16) | 68.8% (11/16) |
| Dense only (Chroma) | 68.8% (11/16) | 100% (16/16) |
| Hybrid (BM25 + Dense, RRF) | 75.0% (12/16) | 87.5% (14/16) |
| Hybrid + Cross-Encoder Rerank | 62.5% (10/16) | 100% (16/16) |
Hybrid RRF gives the best top-5 hit rate; adding the reranker gives the best top-10 recall but lowered Hit@5 on this small set. The set is small and single-company, so treat these as directional.
User Query (via Web UI / REST API)
│
▼
┌───────────────────────────────────────────────┐
│ FastAPI Server │
└──────────────────────┬────────────────────────┘
│
▼
┌───────────────────────────────────────────────┐
│ LangGraph State Router (100% Acc) │
└──────┬──────────┬──────────┬──────────┬───────┘
│ │ │ │
▼ ▼ ▼ ▼
┌───────────┐┌──────────┐┌──────────┐┌──────────────┐
│ Financial ││ Risk ││Litigation││Related-Party │
│ Agent ││ Agent ││ Agent ││ Agent │
└─────┬─────┘└────┬─────┘└────┬─────┘└──────┬───────┘
│ │ │ │
│ ┌───────┴───────────┴─────────┐ │
│ │ Hybrid Dense-Sparse Engine │ │
│ │ (BM25 + Chroma + Reranker) │ │
│ └─────────────────────────────┘ │
▼ ▼
┌───────────────────────────┐ ┌─────────────────────┐
│ Deterministic Calculator │ │ Page Attribution │
│ (YoY, Margins, Ratios) │ │ [Doc ID, Page X] │
└───────────────────────────┘ └─────────────────────┘
The live demo runs a lightweight serverless version (api/index.py) so it fits inside Vercel's 250MB function limit:
| Live demo (Vercel) | Full pipeline (server.py / Docker) | |
|---|---|---|
| Routing | Keyword router | LangGraph LLM router + specialised agents |
| Retrieval | BM25 over text chunks and a separate table store, with section boosting | BM25 + ChromaDB dense search, RRF, cross-encoder reranking |
| DRHP vs RHP | Version-scoped retrieval; comparative mode pulls evidence from both filings | Same |
| Calculations | LLM extracts figures → Python computes growth | Deterministic financial calculator agent |
| Page-cited excerpts & refusals | Yes | Yes |
| Upload new prospectus | Not available (needs a persistent index) | Yes |
Set BACKEND_URL in Vercel to proxy the live UI to a container running the full pipeline.
This repository includes a native vercel.json and a lightweight serverless handler in api/index.py designed to run inside Vercel's 250MB serverless limit:
GROQ_API_KEY: Your Groq Cloud API key (console.groq.com/keys)GROQ_MODEL: openai/gpt-oss-120b or llama-3.3-70b-versatile(Optional: To connect the Vercel frontend to a dedicated heavy GPU/CPU container running the full PyTorch + BGE Reranker + ChromaDB pipeline, set the BACKEND_URL environment variable in Vercel to your container URL).
A production Dockerfile is included for container platforms:
# Build the container
docker build -t ipo-research-agent .
# Run the container
docker run -p 8000:8000 --env-file .env ipo-research-agent
On Render or Railway:
GROQ_API_KEY in the environment settings.git clone https://github.com/YOUR_USERNAME/ai-ipo-research-analyst.git
cd ai-ipo-research-analyst
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Create a .env file from the provided example:
cp .env.example .env
Add your Groq API key:
GROQ_API_KEY=your_groq_api_key_here
GROQ_MODEL=openai/gpt-oss-120b
GROQ_ROUTER_MODEL=openai/gpt-oss-120b
GROQ_MAX_TOKENS=2048
Rebuild or verify the Chroma vector store from the pre-processed filings:
python scripts/build_vectorstore.py
python server.py
Navigate to http://127.0.0.1:8000 in your browser.
Run the complete test suite:
python -m unittest discover tests
Expected baseline: 62/62 tests passing (100% OK).
What was HDB Financial Services' revenue and revenue growth?What are the major risks associated with HDB Financial Services?What litigation is currently disclosed?What changed between the DRHP and RHP?Give me a complete research summary of HDB Financial Services.What was the company's revenue and revenue growth?What are the major risks associated with the company?What litigation is currently disclosed?MIT License. See LICENSE for details.