Government Trades
Implementation details
Class names
Model name | Parameters class | Data class |
---|---|---|
GovernmentTrades | GovernmentTradesQueryParams | GovernmentTradesData |
Import Statement
from openbb_core.provider.standard_models.government_trades import (
GovernmentTradesData,
GovernmentTradesQueryParams,
)
Parameters
- standard
- fmp
Name | Type | Description | Default | Optional |
---|---|---|---|---|
symbol | Union[str, List[str]] | Symbol to get data for. Multiple items allowed for provider(s): fmp. | None | True |
chamber | Literal['house', 'senate', 'all'] | Government Chamber. | all | True |
limit | Annotated[int, Ge(ge=0)] | The number of data entries to return. | 100 | True |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
symbol | Union[str, List[str]] | Symbol to get data for. Multiple items allowed for provider(s): fmp. | None | True |
chamber | Literal['house', 'senate', 'all'] | Government Chamber. | all | True |
limit | Annotated[int, Ge(ge=0)] | The number of data entries to return. | 100 | True |
Data
- standard
- fmp
Name | Type | Description |
---|---|---|
symbol | str | Symbol representing the entity requested in the data. |
date | Union[date, str] | The date of the data. |
transaction_date | date | Date of Transaction. |
representative | str | Name of Representative. |
Name | Type | Description |
---|---|---|
symbol | str | Symbol representing the entity requested in the data. |
date | Union[date, str] | The date of the data. |
transaction_date | date | Date of Transaction. |
representative | str | Name of Representative. |
chamber | Literal['house', 'senate'] | Government Chamber - House or Senate. |
owner | str | Ownership status (e.g., Spouse, Joint). |
asset_type | str | Type of asset involved in the transaction. |
asset_description | str | Description of the asset. |
transaction_type | str | Type of transaction (e.g., Sale, Purchase). |
amount | str | Transaction amount range. |
comment | str | Additional comments on the transaction. |
url | str | Link to the transaction document. |