Rost-APP
Rost-APP (Rost-AssetPriceProvider) is a small Rust library that lets you receive current prices for ETFs, stocks or cryptocurrnecies in EUR.
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
use Coin;
let etf_price: f32 = get_etf_price.unwrap;
let coin_price: f32 = get_coin_price.unwrap;
The above example prints the current prices of the Lyxor Core MSCI World ETF and the current price of Bitcoin.