Skip to main content

A simple API wrapper for Limex DataHub

Project description

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')

DJI_constituents = client.constituents(index = 'DJI')
SP500_constituents = client.constituents()


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")

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

limexhub-1.16.15.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

limexhub-1.16.15-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file limexhub-1.16.15.tar.gz.

File metadata

  • Download URL: limexhub-1.16.15.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for limexhub-1.16.15.tar.gz
Algorithm Hash digest
SHA256 3a1f127afdbd895f800302cc0b8caa758d789cc7f08c68264befe5daddf13195
MD5 3846ac54603ce302341bc06866960354
BLAKE2b-256 9cfeae9fda714330001098bbf4d1de82f2147b76220368e92a7aeaca7c85a908

See more details on using hashes here.

File details

Details for the file limexhub-1.16.15-py3-none-any.whl.

File metadata

  • Download URL: limexhub-1.16.15-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for limexhub-1.16.15-py3-none-any.whl
Algorithm Hash digest
SHA256 f67b33a473422e2698f5d8404a9ae90b4eb84e21cc588af04fc1d078d8e9fd6b
MD5 ab4e5486bf950e337160609be1fcfb6c
BLAKE2b-256 37e451d1ac81558ae36df7a58a39ef54dc10af3a41718cb690151b667d85542b

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