Skip to content

Exchange Rates

TaylorFacen edited this page Apr 11, 2020 · 2 revisions

Standard Methods

Get Rates

get_rates - The exchange rates endpoint returns the current exchange rates used by Nomics to convert prices from markets into USD. This contains Fiat currencies as well as a BTC and ETH quote prices.

nomics.ExchangeRates.get_rates()

Get History

get_history - Exchange rates for every point in a time range. This endpoint can be used with other interval endpoints to convert values into a desired quote currency.

nomics.ExchangeRates.get_history(
    currency = "ETH",
    start = "2018-04-14T00:00:00Z",
    end = "2018-06-14T00:00:00Z"
)

Clone this wiki locally