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
symbol: str | None | list[str | None]
Symbol to get data for. Multiple items allowed for provider(s): fmp.
chamber: Literal['house', 'senate', 'all'] | None
Default: all
Government Chamber.
limit: int | None
The number of data entries to return.
symbol: str | None | list[str | None]
Symbol to get data for. Multiple items allowed for provider(s): fmp.
chamber: Literal['house', 'senate', 'all'] | None
Default: all
Government Chamber.
limit: int | None
The number of data entries to return.
Data
- standard
- fmp
symbol: str | None
Symbol representing the entity requested in the data.
date: date | str
The date of the data.
transaction_date: date | None
Date of Transaction.
representative: str | None
Name of Representative.
symbol: str | None
Symbol representing the entity requested in the data.
date: date | str
The date of the data.
transaction_date: date | None
Date of Transaction.
representative: str | None
Name of Representative.
chamber: Literal['House', 'Senate']
Government Chamber - House or Senate.
owner: str | None
Ownership status (e.g., Spouse, Joint).
asset_type: str | None
Type of asset involved in the transaction.
asset_description: str | None
Description of the asset.
transaction_type: str | None
Type of transaction (e.g., Sale, Purchase).
amount: str | None
Transaction amount range.
comment: str | None
Additional comments on the transaction.
url: str | None
Link to the transaction document.