Skip to content

SharePriceProvider is a small python library for getting ETF and cryptocurrency prices in euro.

License

Notifications You must be signed in to change notification settings

Plebo13/sharepp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharePriceProvider

Testing Codacy Badge

Installation

The best way to install SharePriceProvider is by using pip: pip install sharepp

Usage

To use SharePriceProvider simply import it into your python project. There are two main functions available:

  • get_etf_price: Returns the current price of an ETF
  • get_coin_price: Returns the current price of a cryptocurrency

Supported coins:

  • Bitcoin
  • Ethereum
  • Binance Coin
  • Tether
  • Solana
  • Cardano
  • Ripple
  • USD Coin
  • Polkadot
  • Dogecoin

Example

import sharepp
from sharepp import Coin

print(sharepp.get_etf_price("LU1781541179"))
print(sharepp.get_coin_price(Coin.ETHEREUM))

The above example prints the current prices of the Lyxor Core MSCI World ETF and the current price of Ethereum.

About

SharePriceProvider is a small python library for getting ETF and cryptocurrency prices in euro.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages