Skip to main content

Limexhub

Python version PyPi version PyPi downloads Star this repo

limexhub is a comprehensive Python library designed to simplify interactions with the financial data and services provided by Limex DataHub. It provides an easy-to-use interface for fetching various types of financial data, including instruments, candles, fundamentals, news, events, and predictive signals.

Features

  • Ease of Use: The limexhub library has a straightforward, intuitive interface that enables quick access to Limex DataHub.
  • Comprehensive Data Coverage: Access a wide range of financial data, from market instruments and historical candlestick charts to company fundamentals and latest news.
  • Predictive Signals: Leverage advanced machine learning models and signals to inform your financial decisions.
  • Customization: Easily customize your data queries with flexible parameters suitable for different analysis and trading strategies.
  • Efficiency: The library is designed for efficiency, minimizing the amount of code needed to make requests and handle responses.

Installation

Install limexhub with pip:

pip install limexhub

Getting Started

The library needs to be configured with an API key from your account. Sign up for free and you will automatically receive a set of API keys to start with.

import limexhub
api_token = 'your_api_key'
client = limexhub.RestAPI(token=api_token)



instruments = client.instruments(assets='stocks')

Nasdaq100_constituents = client.constituents()
SP500_constituents = client.constituents(universe='Q500US')


candles = client.candles(symbols = ["AAPL", "NVDA"],
                         start="2024-01-01", 
                         end="2025-01-01", 
                         interval = "1d",
                         pivot=False)
                         

fundamental = client.fundamental(symbol="AAPL", 
                                 from_date="2023-01-01",
                                 to_date="2024-01-01",
                                 fields='roa')

fundamental = client.fundamental(symbol="AAPL", 
                                 from_date="2010-01-01",
                                 to_date="2024-01-01",
                                 fields=None)

fundamental = client.fundamental(fields='roa',
                                 quarter='Q2-2023')
            
                                 
events = client.events(symbol="AAPL",
                       from_date="2023-01-01", 
                       to_date="2024-01-01",
                       event_type="dividends")

news = client.news(symbol="AAPL", 
                   from_date="2023-03-01",
                   to_date="2024-03-03")

models = client.models(vendor = 'boosted')

signals = client.signals(vendor="boosted", 
                         model=models.iloc[0]['id'], 
                         symbol="AAPL", 
                         from_date="2023-01-01")

congress = client.congress_trading(ticker="AAPL", limit=100)

congress = client.congress_trading(member_name="Pelosi", limit=100)

Metadata

Release files for limexhub 1.16.28

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

Source distribution (sdist)

Source distribution for limexhub 1.16.28
File Size Uploaded Provenance
limexhub-1.16.28.tar.gz 8.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for limexhub 1.16.28
File Interpreter ABI Platform
limexhub-1.16.28-py3-none-any.whl Python 3 none any Details

Total release size: 17.3 kB

Release files / limexhub-1.16.28.tar.gz

Download URL limexhub-1.16.28.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
02e98a7d2eb9502aa9a4580217c2f4882ce4b5a54436217e7b28864c0da909c5
BLAKE2b-256 checksum
How to use checksums
c51f3f9c1f3c188838dfc9f733185f438631151150083ebe65b58bad09c43875
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release files / limexhub-1.16.28-py3-none-any.whl

Download URL limexhub-1.16.28-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf6c3c3e1fab331be3ab1c9d314520fca18556b96867a1ec60e78d5978cfbf0e
BLAKE2b-256 checksum
How to use checksums
304ccd9107cd9c096b07e159328a61ab86ca29d64f689050e30c1b186d82712e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Security for limexhub 1.16.28

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.

Release history Release notifications | RSS feed

This release

1.16.28 This release

2 release files No provenance

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