Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

quantel

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quantel

Interact with the Quantel Finance API

  • 0.4
  • Source
  • PyPI
  • Socket score

Maintainers
1

Official Python Library for the Quantel Finance API

Build Status CodeFactor Coverage Downloads


Website: quantel.io

Documentation: quantel.io/docs/python

Blog Posts: The Most Powerful Python Finance Library You’ve Never Heard Of

Source Code: ratherbland/Quantel

Get API Key: links.quantel.io/getstarted

Table of Contents

Overview

Quantel is a powerful financial data and insights API. It provides easy access to world-class financial information. Quantel goes beyond just financial statements, giving users valuable information like insider transactions, major shareholder transactions, share ownership, peers, and so much more.

Some features of Quantel:

  • Fast: Data is retrieved through API endpoints instead of web scraping. Additionally, asynchronous requests can be utilized with simple configuration
  • Simple: Data for multiple symbols can be retrieved with simple one-liners
  • Lightweight: Minimal reliance on third party packages
  • Powerful: 40+ years of historical financial data for almost 25k thousand companies across the globe

Support For Major Exchanges.

Americas

  • NASDAQ
  • New York Stock Exchange (NYSE)
  • Toronto Stock Exchange (TSX)

Asia Pacific

  • Australian Stock Exchange (ASX)
  • Hong Kong Stock Exchange (HKEX)
  • National Indian Stock Exchange (NSE)

Europe

  • German Electronic Exchange (XETRA)
  • EuroNext (ENX)
  • London Stock Exchange (LSE)
  • Moscow Stock Exchange (MOEX)
  • Oslo Stock Exchange (OSE)
  • Swiss Stock Exchange (SIX)

Setup

Requirements

Python 3.6+

  • Requests - The elegant and simple HTTP library for Python, built for human beings.
  • Aiohttp - Asynchronous HTTP Client/Server for asyncio and Python.

Installation

pip install quantel

Examples

Basic Example

from quantel import Quantel

# Authenticate with the API
qt = Quantel(api_key="<quantel-api-key>")

# Instantiate the ticker class
goog = qt.ticker('goog')

# Retrieve company profile
goog.profile()

Multiple Symbol Example

The ticker class also makes it easy to retrieve data for a list of symbols with the same API. Simply pass a list of symbols as the argument to the ticker class.

from quantel import Quantel

qt = Quantel(api_key="<quantel-api-key>")

symbols = ['fb', 'aapl', 'amzn', 'nflx', 'goog']

faang = qt.ticker(symbols)

faang.profile()

International Example

Quantel supports the majority of international exchanges. Read more about what data is supported by which exchanges at quantel.io/docs/

from quantel import Quantel

qt = Quantel(api_key="<quantel-api-key>")

symbols = ['DHER.DE', 'CBA.AX', 'DNB.OL', 'NESN.SW', 'ULVR.L', 'SHOP.TO', 'EDF.PA', ' RELIANCE.NS']

international = qt.ticker(symbols)

international.balance_sheet()

Asynchronous Example

It really is that simple. Set asynchronous=True when instantiating the ticker class.

from quantel import Quantel

qt = Quantel(api_key="<quantel-api-key>")

goog = qt.ticker('goog', asynchronous=True)

goog.profile()

License

This project is licensed under the terms of the MIT license.

Contact

Questions can be raised directly via guy@quantel.io

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc