gtrades
- Model
- Chart
Government trading for specific ticker [Source: quiverquant.com]
Source Code: [link]
openbb.stocks.gov.gtrades(symbol: str, gov_type: str = "congress", past_transactions_months: int = 6)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
symbol | str | Ticker symbol to get congress trading data from | None | False |
gov_type | str | Type of government data between: congress, senate and house | congress | True |
past_transactions_months | int | Number of months to get transactions for | 6 | True |
Returns
Type | Description |
---|---|
pd.DataFrame | DataFrame of tickers government trading |
Government trading for specific ticker [Source: quiverquant.com]
Source Code: [link]
openbb.stocks.gov.gtrades_chart(symbol: str, gov_type: str = "congress", past_transactions_months: int = 6, raw: bool = False, export: str = "", sheet_name: Optional[str] = None, external_axes: bool = False)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
symbol | str | Ticker symbol to get congress trading data from | None | False |
gov_type | str | Type of government data between: congress, senate and house | congress | True |
past_transactions_months | int | Number of months to get transactions for | 6 | True |
raw | bool | Show raw output of trades | False | True |
sheet_name | str | Optionally specify the name of the sheet the data is exported to. | None | True |
export | str | Format to export data | True | |
external_axes | bool | Whether to return the figure object or not, by default False | False | True |
Returns
This function does not return anything