Automated Vietnamese stock price and index checking on FireAnt.vn. Use when checking current stock prices, market indices, trading volumes, or financial information for Vietnamese stocks (HOSE, HNX, UPCOM) and market indices (VNINDEX, HNX30, VN30). Accepts stock symbols like DPM, VCB, FPT, or indices like VNINDEX. Returns formatted price/index data, market statistics, and key financial metrics.
Automatically retrieves real-time stock information from FireAnt.vn for Vietnamese equities. Handles the full workflow from searching to data extraction and formatting.
Check a single stock:
scripts/check_stock.py DPM
Check multiple stocks:
scripts/check_stock.py VCB FPT BID
Single stock inquiry: "Check giá cổ phiếu DPM" "What's the current price of VCB?"
Multiple stocks: "Compare VCB, BID, and CTG prices" "Show me bank stocks: VCB BID CTG"
Market indices: "Check VNINDEX" "How is the market doing today?" (→ VNINDEX) "Show me VN30 index"
Mixed (stocks + index): "Check ACB, L18, AAA và VNINDEX" "Give me tech stocks and market index: FPT VNM VNINDEX"
Market research: "Find information about DPM stock on FireAnt" "Get latest trading data for FPT"
Main script that automates the full stock checking workflow for one or more symbols (stocks or indices).
Usage: python3 scripts/check_stock.py <SYMBOL1> [SYMBOL2] ...
Examples:
# Check stocks
python3 scripts/check_stock.py ACB VCB FPT
# Check index
python3 scripts/check_stock.py VNINDEX
# Check mixed
python3 scripts/check_stock.py ACB L18 AAA VNINDEX
Returns: Formatted stock/index data including price/index value, volume, and key metrics.
Note: FireAnt URL format is the same for both stocks and indices: https://fireant.vn/ma-chung-khoan/{SYMBOL}