π€ Agent: CashlessWatch Stock Market Summary
Overview
| Property | Value |
|---|---|
| Name | CashlessWatch Stock Market Summary |
| Blog | CashlessConsumer Fintech News |
| Schedule | Market days (Mon-Fri) @ 8:15 AM IST |
| Coverage | Indices, Banks, Pure-play Fintech |
| Model | minimax-m2.5 |
| Agent ID | 1b340206-ec48-4a99-a301-eec308b11d22 |
| Last Updated | March 11, 2026 |
Mission
Provide a quick 3-section summary of Indian stock markets focused on payment/fintech companies:
- Indices β Market direction
- Banks β Digital payments leaders
- Pure-Play Fintech β Core payment companies
Oracle Sources
Tier 1 (Primary - NSE India Official)
| Source | Endpoint | Data | Fallback |
|---|---|---|---|
| NSE All Indices | nseindia.com/api/allIndices | Nifty 50, Bank, FinNifty | Yahoo Finance |
| NSE Equity Indices | nseindia.com/api/equity-stockIndices | Bank stock quotes | Yahoo Finance |
Tier 2 (Secondary - Global)
| Source | Endpoint | Data | Reliability |
|---|---|---|---|
| Yahoo Finance | query1.finance.yahoo.com/v8/finance | All stocks | High, no auth |
| Moneycontrol | moneycontrol.com | Indian markets | HTML scraping |
Tier 3 (Fallback)
| Source | Purpose |
|---|---|
| BSE India | If NSE fails |
| Google Finance | Quick spot checks |
Helper Scripts
All helper scripts are in scripts/ folder:
Main Runner
| Script | Purpose |
|---|---|
stock-watch.sh | Orchestrates full pipeline |
Usage:
| |
Data Fetching
| Script | Purpose |
|---|---|
fetch-stock-data.py | Fetches from oracle sources |
Outputs: JSON with indices, banks, fintech data
Content Generation
| Script | Purpose |
|---|---|
generate-hugo-post.py | Creates Hugo markdown |
Inputs: JSON from fetch-stock-data.py
Outputs: content/posts/YYYY-MM-DD-stock-watch.md
Alert Delivery
| Script | Purpose |
|---|---|
send-telegram-alert.py | Sends Telegram alert |
Requires: TELEGRAM_BOT_TOKEN env var
Stock Universe
Indices
- Nifty 50 (NSEI)
- Nifty Bank (NSEBANK)
- Nifty Financial Services (FINNIFTY)
- Nifty IT (NSEIT)
Banks β Digital Payments Leaders
| Symbol | Company | Why Included |
|---|---|---|
| HDFCBANK | HDFC Bank | 22% credit card market |
| ICICIBANK | ICICI Bank | iMobile Pay, Apple Pay talks |
| SBIN | SBI | Largest UPI volume, 19% cards |
| AXISBANK | Axis Bank | Digital focus |
| KOTAKBANK | Kotak Mahindra Bank | 811 digital bank |
Pure-Play Fintech/PayTech
Tier B1: Digital Payments & Wallets
- One97 Communications (Paytm) β NSE: PAYTM
- MobiKwik β NSE: MOBIKWIK
Tier B2: Insurance & Credit Marketplaces
- PB Fintech (PolicyBazaar) β NSE: PBFINTECH
Tier B3: Payment Infrastructure & Gateways
- Infibeam Avenues β NSE: INFIBEAM
- Pine Labs β NSE: PINELABS
- NPST β NSE: NPST
Tier B4: Payments Banking & Cards
- Fino Payments Bank β NSE: FINOPB
- SBI Cards β NSE: SBICARD
Tier B5: ATM & Cash (Peripheral)
- AGS Transact Technologies β NSE: AGSTRA β β οΈ Under CIRP
Excluded
- Nykaa, Zomato, RateGain β Not core fintech
- RBL Bank, Federal Bank, IndusInd, Yes Bank β Full-service, less digital focus
Agent Instruction (Source of Truth)
Step 1: Run Helper Script
| |
This runs:
fetch-stock-data.pyβ Pulls from oracle sourcesgenerate-hugo-post.pyβ Creates Hugo markdownsend-telegram-alert.pyβ Sends Telegram alert- Git commit/push β Syncs to repository
Step 2: Verify Output
Check content/posts/YYYY-MM-DD-stock-watch.md was created
Step 3: Manual Review (If Needed)
- Spot-check 2-3 prices against NSE/Moneycontrol
- Verify % change calculations
- Confirm no data gaps in critical stocks
Step 4: Report Generation
If script fails or data incomplete, generate manually:
| |
Output Format
Telegram Alert (Compact)
| |
Publishing Commands
| |
Quality Checks
- All indices fetched (Nifty 50, Bank, FinNifty, IT)
- All 5 major banks have data
- At least 3 fintech stocks have data
- Prices cross-verified with NSE/Moneycontrol
- % change calculations correct
- Telegram alert sent successfully
- Hugo post committed to repository
- No overlapping data sources (use oracle priority)
Data Fallback Strategy
If primary source fails:
- NSE India β Use Yahoo Finance
- Yahoo Finance β Use Moneycontrol HTML scraping
- Both fail β Mark as “Data delayed” in output
Version History
| Date | Change | Commit |
|---|---|---|
| 2026-03-11 | Agent creation with 3-tier structure | [TBD] |
| 2026-03-11 | Added helper scripts (fetch, generate, send) | [TBD] |
This agent is part of the CashlessConsumer CashlessWatch project. All agent instructions are open source.
News Integration System
Step 0: Read Daily Brief First
BEFORE fetching stock data, read today’s Daily Brief:
| |
Extract key news items that could impact stocks:
- RBI/NPCI policy changes β Payment stocks
- UPI updates β PAYTM, FINOPB, NPST
- Credit card news β SBICARD, banks
- Insurance regulation β PBFINTECH
- Bank digital initiatives β HDFCBANK, ICICIBANK, etc.
Step 1: News-Annotated Output
Add News Context column to ALL tables:
| |
News Context Format:
- π’ Positive: “Apple Pay partnership”, “Q3 earnings beat”, “RBI approval”
- π΄ Negative: “CIRP proceedings”, “competition from X”, “regulatory fine”
- βͺ Neutral: “No major news”, “market beta”, “sector rotation”
Cashless Watch Reco (Cross-Agent Output)
Generate a combined intelligence section:
| |
Enhanced Helper Scripts
fetch-with-news.py
Enhanced data fetcher that:
- Reads Daily Brief
- Extracts stock-impacting news
- Annotates stock data with news context
- Generates Cashless Watch Reco ranking
Usage:
| |
Output: Enhanced JSON with news_context field