vnai (Vnstock Analytics Interface) is a Python library for Vietnamese stock market data analysis. It provides tools to fetch stock prices, financial statements, and market indices, targeting quantitative analysis and automated trading. Current version 2.4.8, release cadence monthly. Requires Python 3.10+.
pip install vnaiNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize Vnstock, fetch stock data for VNM (Vinamilk) using an API token.
Use `from vnai import Vnstock` instead of `import vnstock`.
Set the token via environment variable `VNSTOCK_API_TOKEN` or pass it directly to method calls.
Use `fetch_stock_data` or `fetch_market_data` with appropriate parameters.
No resource links recorded.