GithubHelp home page GithubHelp logo

borsdata-sdk's Introduction

Borsdata python SKD

Build Status

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.