Borsdata api SDK
Project description
Borsdata python SKD
unofficial
python SDK for the Börsdata API, detailed docs.
Install
pip install borsdata-sdk
Usage
A simple example can be found here.
from borsdata_sdk import BorsdataAPI
borsdata = BorsdataAPI('<api_key>')
# Instrument Meta
markets = borsdata.get_markets()
branches = borsdata.get_branches()
sectors = borsdata.get_sectors()
countries = borsdata.get_countries()
translations = borsdata.get_translation_meta_data()
# Instruments
instruments = borsdata.get_instruments()
instruments = borsdata.get_instruments_by_market(markets=[1, 2])
updates = borsdata.get_instruments_updated()
# KPIs
# In progress
# StockPrices
entries = borsdata.get_instrument_stock_price(3)
entries_from_to = borsdata.get_instrument_stock_price(3, '2009-04-22', '2009-04-25')
updates = borsdata.get_instrument_stock_price_last()
updates = borsdata.get_instruments_stock_prices_by_date("2021-04-20")
# Reports
yearly_reports = borsdata.get_instrument_reports(3, 'year')
r12s = borsdata.get_instrument_reports(3, 'r12')
quarters = borsdata.get_instrument_reports(3, 'quarter')
all_reports = borsdata.get_all_instrument_reports(77)
meta = borsdata.api.get_instruments_reports_meta_data()
# StockSplits
splits = borsdata.api.get_stock_splits()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
borsdata_sdk-1.2.1.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file borsdata_sdk-1.2.1.tar.gz
.
File metadata
- Download URL: borsdata_sdk-1.2.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/54.1.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68e306a20aae5f5d32320803b32af12ddf3263631c5d26be94737a285b408669 |
|
MD5 | 6ecd5209ef77ff78d3c60191d7a60b12 |
|
BLAKE2b-256 | e96b1483d989dc721893bb5144925ba837c29dbbda399687ddc71b1dfe85c890 |
File details
Details for the file borsdata_sdk-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: borsdata_sdk-1.2.1-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/54.1.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4180e63151e413c4c042066c0a31c4421d600cccdf3dd646cc091c0c4acefd4 |
|
MD5 | 2bdfa85f294e5bccf75b4d8b208ff279 |
|
BLAKE2b-256 | fa9786170436742546e19f29ead9c9a401315192f0f2e68647f399a89d13c1cb |