${[['Date','2025-01-15 or 15-Jan-25'],['Symbol','HBL, OGDC, etc'],['Type','buy / sell'],['Quantity','Number of shares'],['Price','Price per share (PKR)'],['Amount','Total value (optional)'],['Brokerage','Broker charges (optional)'],['Notes','Any remarks (optional)']].map(([k,v])=>`
${k} — ${v}
`).join('')}
📌 PDF files are parsed by AI — works with JS Global, CDC, KASB, AKD, and most broker contract notes.
⏳
Parsing file...
Average Price Preview (after import)
Date
Type
Symbol
Qty
Price
Amount
Brokerage
Status
O —H —L —C —
Loading chart data...
🏦 CDC / Multi-Broker Portfolio Sync
Upload your broker's trade statement (CSV, Excel) or CDC holdings statement. EFS Terminal will parse the file and import trades directly into your portfolio with full average price calculation.
Select your broker
📂
Drop your statement here or click to browse
Supports: CSV, XLSX, XLS from all major Pakistani brokers
Preview — 0 trades detected
Date
Type
Symbol
Qty
Price
Amount
Match
Manually enter your holdings from CDC or any broker if you don't have a digital statement.
Select context factors and click Run Analysis to generate PSX-specific intelligence.
📨 Daily Client Brief Generator
Select Client
Brief Preview
Select a client to generate their personalised brief
⚠ Live data unavailable — showing cached prices from —
🔔 Price Alerts — PSX Push Notifications
+ New Alert
Browser notifications: checking...
Active Alerts (0)
No alerts set. Add one above.
Alerts check every 90 seconds when the platform is open. Push notifications fire even when this tab is in the background.
💰 Dividend Tracker & Yield Calculator
🌙 Zakat Calculator — PSX Portfolio
Zakat on Shares: Based on the majority scholarly position, Zakat is calculated on the current market value of shares held for one lunar year (Hawl), at 2.5% on the amount above Nisab. This calculator uses current live prices from your portfolio.
Additional Zakatable Assets (PKR)
Deductions (Debts / Liabilities)
⚠ This calculator is a tool for reference only. Consult a qualified Islamic scholar for your personal Zakat obligation.
📋 CGT Tax Calculator — FBR Pakistan
Capital Gains Tax (CGT) in Pakistan: 0–1 yr: 15% · 1–2 yrs: 12.5% · 2–4 yrs: 10% · 4+ yrs: 0%. Calculated on realised gains (sell price minus avg buy price minus charges).
FBR also charges Withholding Tax (WHT) at 0.02% on gross sale proceeds if filer, 0.04% if non-filer. This is adjustable against CGT liability. Always consult a tax advisor for your specific situation.
📊 Portfolio vs KSE-100 Benchmark
⚖️ Rights Issue & Bonus Share Calculator
Enter the announcement terms. The calculator shows your new average cost and whether it's better to subscribe or sell your rights entitlement.
Bonus shares dilute the price but your total investment value stays the same (in theory). This shows your new avg cost after bonus issue.
💬 WhatsApp Bot — PSX Market Assistant
Test how the bot responds to commands. In production, your clients WhatsApp these to your bot number.
👋 EFS Bot online. Type a command like HBL price, my portfolio, or help
${[
{n:'Option 1: Twilio (Easiest)',d:'Create a Twilio account, get a WhatsApp sandbox number. Set webhook URL to your platform API endpoint. Works in 30 minutes. Cost: ~$0.005/message.',steps:['Sign up at twilio.com','Enable WhatsApp sandbox','Set webhook: https://everyfinancialsolution.com/API/wa-bot.php','Test with your number first']},
{n:'Option 2: WhatsApp Business API (Official)',d:'Apply for WhatsApp Business API via Meta. Takes 1-2 weeks for approval. Best for scale.',steps:['Apply at business.whatsapp.com','Get approved (verify business)','Set up webhook in Meta dashboard','Connect to your PHP backend']},
{n:'Option 3: Baileys (Self-hosted, Free)',d:'Open-source Node.js library. Requires a WhatsApp number dedicated to the bot. Free but requires VPS.',steps:['Install Node.js on server','npm install @whiskeysockets/baileys','Scan QR code with bot WhatsApp','Connect to EFS API for data']}
].map(o=>`
Generate and send today's market brief to all clients via WhatsApp. Requires WhatsApp Business API setup.
🔗 Portfolio Correlation Matrix
Shows how correlated your holdings are. Red = highly correlated (move together = concentrated risk). Green = low/negative correlation = true diversification. Values calculated from simulated 30-day price movements.
⚡ Stock Comparison Tool
${[1,2,3,4,5].map(i=>`
`).join('')}
📐 Margin / Position Size Calculator
📸 Share Portfolio Snapshot
Generates a branded EFS Terminal portfolio card ready to share on WhatsApp groups or Twitter/X.