Skip to main content

enext-exchange-py

Provides access to real-time and historical financial data from various exchanges.

Features

  • Detailed Quotes: Get real-time price, change percentages, and last traded time.
  • Intraday Quotes: Fetch intraday price and volume data.
  • Historical Quotes: Access historical price and volume data.
  • Factsheets: Retrieve instrument information such as ISIN, code, instrument type, and trading details.

Installation

Install the package using pip:

pip install enext-exchange-py

Quick Start

The library uses asyncio for its operations. Below is a simple example of how to use the ExchangeClient.

import asyncio
from enext_exchange_py import ExchangeClient

async def main():
    async with ExchangeClient() as client:
        # 1. Get a detailed quote for a ISIN
        symbol = "LU0290358497-ETFP"
        quote = await client.get_detailed_quote(symbol)
        print(f"Name: {quote.name}")

        # 2. Get intraday quotes
        print("\nIntraday Quotes")
        async for q in client.get_intraday_quotes(symbol):
            print(f"{q.time}: {q.price} (Vol: {q.volume})")
            break  # remove to list them all

        # 3. Get a factsheet
        factsheet = await client.get_factsheet(symbol)
        print(f"\nISIN: {factsheet.isin}")
        print(f"Trading Currency: {factsheet.trading_currency}")

if __name__ == "__main__":
    asyncio.run(main())

Usage

API Methods

  • await get_detailed_quote(symbol: str) -> DetailedQuote: Returns a DetailedQuote object containing the latest market data.
  • get_intraday_quotes(symbol: str) -> AsyncGenerator[Quote, None]: An async generator yielding Quote objects for the current trading day.
  • get_historical_quotes(symbol: str) -> AsyncGenerator[Quote, None]: An async generator yielding historical Quote objects.
  • await get_factsheet(symbol: str) -> Factsheet: Returns a Factsheet object with instrument metadata.

Development

To set up the development environment, you can use uv:

# Install dependencies
uv sync --all-extras --group dev

# Run tests
uv run pytest

License

This project is licensed under the MIT License.

All data retrieved through this project remains the exclusive property of the respective data providers. Use of this software does not grant any ownership rights or licenses to the underlying data; users are responsible for complying with the providers' specific Terms of Service.

Release files for enext-exchange-py 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for enext-exchange-py 0.1.3
File Size Uploaded
enext_exchange_py-0.1.3.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for enext-exchange-py 0.1.3
File Interpreter ABI Platform
enext_exchange_py-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 14.4 kB

Release files / enext_exchange_py-0.1.3.tar.gz

Download URL enext_exchange_py-0.1.3.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
511013b7f89d414e9f413ec925406a7d7d739087b1c9aa33615296b3d266baf6
BLAKE2b-256 checksum
How to use checksums
9f2bafc3b0a3e72c430bbf58af57987675c5618b32c99af3d889b6b91124c6b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.

Transparency log

Release files / enext_exchange_py-0.1.3-py3-none-any.whl

Download URL enext_exchange_py-0.1.3-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03768fb45bb0c04ff2c2c53cfcd6288b9a2713c572f2ad1666b5616de71bf484
BLAKE2b-256 checksum
How to use checksums
478d3b76d4b4e0f0d50918c11f88e74dd452e4cef96d705063f07eed18af62fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

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