Skip to main content

Client for Ljubljana Stock Exchange REST API

Project description

LJSE

A lightweight Python package for accessing Ljubljana Stock Exchange (LJSE) data through the official REST API.

Features

get_tickers()

Returns a DataFrame containing all currently listed equities on the LJSE, including:

  • symbol
  • ISIN
  • name
  • segment listing date

Useful for discovering available tickers and metadata.


get_ticker_data(symbol)

Downloads historical trading data for a specific LJSE symbol.
The function automatically:

  • resolves the correct ISIN
  • determines the listing date
  • fetches daily historical prices from the LJSE API
  • returns a time-indexed DataFrame containing only the column with the ticker’s last traded price

Example Usage

from ljse import get_tickers, get_ticker_data

# list all securities
tickers = get_tickers()
print(tickers)

# download historical data for KRKA
df = get_ticker_data("KRKG")
print(df.tail())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ljse-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ljse-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file ljse-0.1.0.tar.gz.

File metadata

  • Download URL: ljse-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for ljse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 259b9db3ecfa218208cb0483a2ae0b5e68b84fb1e76c32c4a15f548e08ffff1a
MD5 40873ee687347ed258d2902b2f0b9a01
BLAKE2b-256 b11ad87fe923fd4385a791ab45f9bf14b88276e790b6c3e697165d78b1d8f842

See more details on using hashes here.

File details

Details for the file ljse-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ljse-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for ljse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2100dee549f10589f5a72ae10eee4211c317ce3d2ce627377fff5abc77ae879
MD5 2c54a2a557fe5c16f4d3b5af3ba98893
BLAKE2b-256 785cb31acb7d1d9dacfcfcce6d4a6c2623192365241efa3fba91c61ab05c3740

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page