Skip to content
Snippets Groups Projects
user avatar
Bryan Chen authored
64ea36f2
History
Name Last commit Last update
..
src
Cargo.toml
README.md

Prices module

Overview

This module is been used to get the prices from a source DataProvider i.e. Oracle module, and calculate the price for a given CurrencyId pair. fn get_price(base_currency_id: CurrencyId, quote_currency_id: CurrencyId) -> Option<Price>