lbma_fixing
Daily LBMA Fixing Prices in USD/EUR/GBP.
Example
from openbb import obb
obb.commodity.lbma_fixing(asset="gold")
Parameters
- standard
- nasdaq
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| asset | Literal['gold', 'silver'] | The metal to get price fixing rates for. | gold | True |
| start_date | Union[str, date] | Start date of the data, in YYYY-MM-DD format. | None | True |
| end_date | Union[str, date] | Start date of the data, in YYYY-MM-DD format. | None | True |
| transform | Literal['diff', 'rdiff', 'cumul', 'normalize'] | Transform the data as difference, percent change, cumulative, or normalize. | None | True |
| collapse | Literal['daily', 'weekly', 'monthly', 'quarterly', 'annual'] | Collapse the frequency of the time series. | None | True |
| provider | Literal['nasdaq'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'nasdaq' if there is no default. | nasdaq | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| asset | Literal['gold', 'silver'] | The metal to get price fixing rates for. | gold | True |
| start_date | Union[str, date] | Start date of the data, in YYYY-MM-DD format. | None | True |
| end_date | Union[str, date] | Start date of the data, in YYYY-MM-DD format. | None | True |
| transform | Literal['diff', 'rdiff', 'cumul', 'normalize'] | Transform the data as difference, percent change, cumulative, or normalize. | None | True |
| collapse | Literal['daily', 'weekly', 'monthly', 'quarterly', 'annual'] | Collapse the frequency of the time series. | None | True |
| provider | Literal['nasdaq'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'nasdaq' if there is no default. | nasdaq | True |
Returns
OBBject
results : List[LbmaFixing]
Serializable results.
provider : Optional[Literal['nasdaq']]
Provider name.
warnings : Optional[List[Warning_]]
List of warnings.
chart : Optional[Chart]
Chart object.
extra : Dict[str, Any]
Extra info.
Data
- standard
- nasdaq
| Name | Type | Description |
|---|---|---|
| date | date | The date of the data. |
| usd_am | float | AM fixing price in USD. |
| usd_pm | float | PM fixing price in USD. |
| gbp_am | float | AM fixing price in GBP. |
| gbp_pm | float | PM fixing price in GBP. |
| euro_am | float | AM fixing price in EUR. |
| euro_pm | float | PM fixing price in EUR. |
| usd | float | Daily fixing price in USD. |
| gbp | float | Daily fixing price in GBP. |
| eur | float | Daily fixing price in EUR. |
| Name | Type | Description |
|---|---|---|
| date | date | The date of the data. |
| usd_am | float | AM fixing price in USD. |
| usd_pm | float | PM fixing price in USD. |
| gbp_am | float | AM fixing price in GBP. |
| gbp_pm | float | PM fixing price in GBP. |
| euro_am | float | AM fixing price in EUR. |
| euro_pm | float | PM fixing price in EUR. |
| usd | float | Daily fixing price in USD. |
| gbp | float | Daily fixing price in GBP. |
| eur | float | Daily fixing price in EUR. |