← Back to News
vfinance added to PyPI

vfinance added to PyPI

vfinance · PyPI Skip to main content Switch to mobile version Warning Some features may not work without JavaScript.

Please try enabling it if you encounter problems. Search PyPI Search Blog Docs Log in Register Blog Docs Log in Register

Deutsch English español Esperanto français português (Brasil) Ελληνικά русский українська

עברית 中文 (简体) 中文 (繁體) 日本語 한국어 Search PyPI Search vfinance 0.1.0 Fetch Vietnam stock

market data from public sources pip install vfinance Copy PIP instructions Description Metadata Release files Security

Release history Fetch Vietnam stock market data from public sources. Core features Feature Business impact Symbol

information Research stocks and ETFs with profiles, exchanges, instrument types, indices, and industries. Ticker quotes

Fetch a ticker's quote to support market monitoring and pricing views. Ticker history Fetch historical market data for

trend analysis, investment research, and backtesting. Usage Stock lookups are asynchronous. Tickers can be written as

BID, HOSE:BID, or BID.VN; case and surrounding whitespace are ignored. By default, missing data and stock lookup

failures return None. To receive lookup exceptions instead, pass raise_on_error=True. Research a company's profile Use

stocks.get_info to retrieve the company name, listing exchange, and available industry classifications. import asyncio

from vfinance import stocks async def main() -> None: info = await stocks.get_info("HOSE:BID") if info is None:

print("Company profile is unavailable.") else: print(f"{info.symbol} ({info.exchange}): {info.name}") if info.industry

is not None: print(f"Industry: {info.industry}") asyncio.run(main()) View the latest available quote Use

stocks.get_quote to view the latest available market price, OHLC prices, and traded volume. import asyncio from vfinance

import stocks async def main() -> None: quote = await stocks.get_quote("BID") if quote is None: print("Quote is

unavailable.") else: print(f"Market price: {quote.market_price:,.0f} VND") print(f"As of: {quote.timestamp_str}")

print("OHLC:", quote.open, quote.high, quote.low, quote.close) print(f"Volume: {quote.volume:,} traded units")

asyncio.run(main()) Prices are in VND per traded unit; volume counts traded units. A closing price can be None if it has

not been finalized. Analyze daily price history Use stocks.get_history to retrieve daily quotes for a calendar-day

window. import asyncio from vfinance import stocks async def main() -> None: history = await

stocks.get_history("BID.VN", num_days=30) if history is None: print("History is unavailable.") elif not history:

print("No daily quotes in this period.") else: for day in history: print(day.timestamp.date(), day.close, day.volume)

asyncio.run(main()) History is ordered oldest to newest and covers calendar days, not a fixed number of trading

sessions. The default window is 30 days, ending before today's midnight in Asia/Ho_Chi_Minh; requests are limited to the

last five years. A successful lookup with no quotes in the selected period returns []. Keep ticker identifiers

consistent across datasets Use utils.normalize_ticker to turn supported ticker formats into a consistent bare symbol.

from vfinance.utils import normalize_ticker print(normalize_ticker("BID")) print(normalize_ticker("HOSE:BID"))

print(normalize_ticker("BID.VN")) Each call returns BID. Export results as JSON Profiles and quotes can be exported as

JSON, including ISO-formatted timestamps for quotes. For example, export BID's latest available quote: import asyncio

from vfinance import stocks async def main() -> None: quote = await stocks.get_quote("BID") if quote is not None:

print(quote.model_dump_json(indent=2)) asyncio.run(main()) Data Coverage, Limitations and Disclaimer Data coverage

vfinance covers stocks traded on Vietnam's HOSE, HNX, and UPCOM markets. Limitations Data is fetched from public

sources/APIs, and availability depends on those providers. Results are cached for a limited period to reduce repeated

requests and help avoid overloading public sources/APIs. Quotes are not guaranteed to be real-time and may be delayed.

Their freshness depends on the underlying sources and their update frequency. Disclaimer Data is provided "as is".

vfinance and its maintainers make no guarantees about its quality, accuracy, completeness, or timeliness, and accept no

responsibility for the quality or correctness of the data. Verify data independently before relying on it. License This

package is licensed under the MIT License - see the LICENSE.md file for details. Contributing & Support Feel free to

create pull requests or issues to report bugs or suggest new features. Project links Data verified by PyPI on Nov 30,

2026 Data provided by the project maintainers, verified at the time the release was uploaded to PyPI. Issues Repository

Key dates PyPI data Data sourced directly from PyPI's database. Released: Nov 30, 2026 Latest release 1 maintainer PyPI

data Data sourced directly from PyPI's database. btnguyen2k Credits Author: Thanh Ba Nguyen GitHub Statistics Data

verified by PyPI on Nov 30, 2026 The GitHub source repository was provided by the project maintainers and verified

by PyPI at the time of upload. Stars, forks, and open issues/PRs are derived from that repository and have not been

independently verified. Repository Stars: Forks: Open issues: Open PRs: License expression MIT View SPDX License List

Requires Python >=3.12 Classifiers Development Status 1 - Planning Intended Audience Developers Operating System OS

Independent Programming Language Python :: 3 :: Only Python :: 3.12 Python :: 3.13 Python :: 3.14 Python :: 3.15 Topic

Office/Business :: Financial :: Investment Metadata Project links Data verified by PyPI on Nov 30, 2026 Data provided by

the project maintainers, verified at the time the release was uploaded to PyPI. Issues Repository Key dates PyPI data

Data sourced directly from PyPI's database. Released: Nov 30, 2026 Latest release 1 maintainer PyPI data Data sourced

directly from PyPI's database. btnguyen2k Credits Author: Thanh Ba Nguyen GitHub Statistics Data verified by PyPI

on Nov 30, 2026 The GitHub source repository was provided by the project maintainers and verified by PyPI at the

time of upload. Stars, forks, and open issues/PRs are derived from that repository and have not been independently

verified. Repository Stars: Forks: Open issues: Open PRs: License expression MIT View SPDX License List Requires Python

>=3.12 Classifiers Development Status 1 - Planning Intended Audience Developers Operating System OS Independent

Programming Language Python :: 3 :: Only Python :: 3.12 Python :: 3.13 Python :: 3.14 Python :: 3.15 Topic

Office/Business :: Financial :: Investment Release files for vfinance 0.1.0 For a detailed explanation of source

distributions (sdists) and built distributions (wheels), please see the package formats documentation. Source

distribution (sdist) Source distribution for vfinance 0.1.0 File Size Uploaded Provenance Actions vfinance-0.1.0.tar.gz

94.4 kB Nov 30, 2026 Without provenance Details for vfinance-0.1.0.tar.gz Built distribution (wheel) Table of built

distributions (wheels) for vfinance 0.1.0 File Interpreter ABI Platform Actions Reset vfinance-0.1.0-py3-none-any.whl

19.2 kB Nov 30, 2026 Without provenance Python 3 none any Details for vfinance-0.1.0-py3-none-any.whl Total release

size: 113.6 kB Release files / vfinance-0.1.0.tar.gz Download URL vfinance-0.1.0.tar.gz Size 94.4 kB Tags Source SHA-256

checksum How to use checksums fb54bd0228c4853489c7003868e86bdd3f70d9cf196df0fce6c4b26bb7a0e6d5 Copy SHA-256 checksum

BLAKE2b-256 checksum How to use checksums decfc3abfb37844442c7fd5ad1d482d430020b35bc357b80b544f8fcf385dfaa Copy

BLAKE2b-256 checksum Upload date Nov 30, 2026 Uploaded using Trusted Publishing? What is trusted publishing? Yes

Uploaded via uv/0.13.10

{"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / vfinance-0.1.0-py3-none-any.whl Download URL vfinance-0.1.0-py3-none-any.whl Size 19.2 kB Tags Python 3

SHA-256 checksum How to use checksums 7a04eb1cbadcb1f426c952c540ec7ed12090db73b6949b307beccb02ea9a9921 Copy SHA-256

checksum BLAKE2b-256 checksum How to use checksums bee3b8daa0e722cd787c0e1f1fd09bf022a33646b810dce7978fcb49ffefccec Copy

BLAKE2b-256 checksum Upload date Nov 30, 2026 Uploaded using Trusted Publishing? What is trusted publishing? Yes

Uploaded via uv/0.13.10

{"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for vfinance 0.1.0 Report project as malware Provenance Provenance describes where a file came from. On PyPI,

provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View

details, limitations and caveats. No provenance found None of the files in this release were uploaded with provenance

metadata. A note on package security PyPI is a repository for distributing packages, not a service for auditing them.

While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot

guarantee the quality, security or suitability of any given package. To learn more about protecting yourself from

malicious actors, visit our package security documentation. Release history Release notifications | RSS feed This

release 0.1.0 This release Nov 30, 2026 2 release files No provenance PyPI Developed and maintained by the Python

Software Foundation and Python community, for the Python community. Status: all systems operational Donate today! Help

PyPI documentation Getting help Installing packages Uploading packages Packaging user guide About PyPI PyPI blog

Infrastructure dashboard Statistics Logos & trademarks Our sponsors Contributing to PyPI Bugs and feedback Contribute on

GitHub Translate PyPI Sponsor PyPI Development credits Using PyPI Terms of Service Report security issue Code of conduct

Privacy Notice Acceptable Use Policy Switch to desktop version Anthropic, PBC Visionary sponsor Bloomberg Visionary

sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability

sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google

Download Analytics Sentry Error logging StatusPage Status page "PyPI", "Python Package Index", and the blocks logos are

registered trademarks of the Python Software Foundation. © 2026 Python Software Foundation Site map Deployed from

fc0d8e6

Source: pypi.org