topbuys
- Model
- Chart
Get top buy government trading [Source: quiverquant.com]
Source Code: [link]
openbb.stocks.gov.topbuys(gov_type: str = "congress", past_transactions_months: int = 6)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| gov_type | str | Type of government data between: congress, senate and house | congress | True |
| past_transactions_months | int | Number of months to get trading for | 6 | True |
Returns
| Type | Description |
|---|---|
| pd.DataFrame | DataFrame of top government buy trading |
Top buy government trading [Source: quiverquant.com]
Source Code: [link]
openbb.stocks.gov.topbuys_chart(gov_type: str = "congress", past_transactions_months: int = 6, limit: int = 10, raw: bool = False, export: str = "", external_axes: Optional[List[matplotlib.axes._axes.Axes]] = None)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| gov_type | str | Type of government data between: congress, senate and house | congress | True |
| past_transactions_months | int | Number of months to get trading for | 6 | True |
| limit | int | Number of tickers to show | 10 | True |
| raw | bool | Display raw data | 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