Corporate Spy Skill
This skill allows the agent to monitor and analyze official corporate announcements from Indian stock exchanges.
Capabilities
- •Filing Discovery: Search for latest filings for a given NSE/BSE symbol.
- •PDF Extraction: Download and extract text from PDF filings.
- •OCR Engine: Convert scanned image-based PDFs into searchable text using
pytesseractandpdf2image. - •Smart Summarization: Distill complex legal/financial jargon into a single, punchy sentence (e.g., "BEL won a ₹500Cr order from the Ministry of Defense").
Tools & Libraries
- •
requests,beautifulsoup4for scraping exchange websites. - •
pytesseractfor OCR. - •
pdf2imagefor converting PDF pages to images for OCR. - •
PyPDF2for text-based PDF extraction.
Workflow
- •Identify the company symbol.
- •Fetch the latest announcements list.
- •Download the relevant PDF.
- •Attempt direct text extraction; if failed/empty, trigger OCR.
- •Analyze the content and generate a summary.