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 = "", external_axes: Optional[List[matplotlib.axes._axes.Axes]] = None)
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 |
export | str | Format to export data | True | |
external_axes | Optional[List[plt.Axes]] | External axes (1 axis is expected in the list), by default None | None | True |
Returns
This function does not return anything