ETF Active
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
ETFActive | ETFActiveQueryParams | ETFActiveData |
Import Statement
from openbb_core.provider.standard_models. import (
ETFActiveData,
ETFActiveQueryParams,
)
Parameters
- standard
- wsj
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| sort | Literal['asc', 'desc'] | Sort order. Possible values: 'asc', 'desc'. Default: 'desc'. | desc | True |
| limit | int | The number of data entries to return. | 10 | True |
| provider | Literal['wsj'] | The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: wsj. | None | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| sort | Literal['asc', 'desc'] | Sort order. Possible values: 'asc', 'desc'. Default: 'desc'. | desc | True |
| limit | int | The number of data entries to return. | 10 | True |
| provider | Literal['wsj'] | The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: wsj. | None | True |
Data
- standard
- wsj
| Name | Type | Description |
|---|---|---|
| symbol | str | Symbol representing the entity requested in the data. |
| name | str | Name of the entity. |
| last_price | float | Last price. |
| percent_change | float | Percent change. |
| net_change | float | Net change. |
| volume | float | The trading volume. |
| date | date | The date of the data. |
| Name | Type | Description |
|---|---|---|
| symbol | str | Symbol representing the entity requested in the data. |
| name | str | Name of the entity. |
| last_price | float | Last price. |
| percent_change | float | Percent change. |
| net_change | float | Net change. |
| volume | float | The trading volume. |
| date | date | The date of the data. |
| country | str | Country of the entity. |
| mantissa | int | Mantissa. |
| type | str | Type of the entity. |
| formatted_price | str | Formatted price. |
| formatted_volume | str | Formatted volume. |
| formatted_price_change | str | Formatted price change. |
| formatted_percent_change | str | Formatted percent change. |
| url | str | The source url. |