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 | list[str]
Symbol to get data for. Multiple items allowed for provider(s): fmp.
chamber: Literal['house', 'senate', 'all']
Default: all
Government Chamber.
limit: int
The number of data entries to return.
symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): fmp.
chamber: Literal['house', 'senate', 'all']
Default: all
Government Chamber.
limit: int
The number of data entries to return.
Data
- standard
- fmp
symbol: str
Symbol representing the entity requested in the data.
date: date | str
The date of the data.
transaction_date: date
Date of Transaction.
representative: str
Name of Representative.
symbol: str
Symbol representing the entity requested in the data.
date: 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.