Files
OpenBB/website/versioned_docs/version-v3/sdk/reference/forex/quote.md
Theodore Aptekarev f72bc8ccec Add Versioned Documentation (#5470)
* Adding versioning to docs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-09-29 11:49:05 +02:00

948 B
Vendored

title, description
title description
quote OpenBB SDK Function

quote

Get forex quote.

Source Code: [link]

openbb.forex.quote(symbol: str, source: str = "YahooFinance")

Parameters

Name Type Description Default Optional
symbol str Forex symbol to get quote for. None False
source str Source to get quote from, by default "YahooFinance" YahooFinance True

Returns

Type Description
pd.DataFrame DataFrame of quote data.

Examples

from openbb_terminal.sdk import openbb
EUR_USD_quote = openbb.forex.quote("EURUSD")
This also supports AlphaVantage and will handle different conventions
EUR_USD= openbb.forex.quote("EUR/USD", source="AlphaVantage")