Skip to main content

gtrades

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

NameTypeDescriptionDefaultOptional
symbolstrTicker symbol to get congress trading data fromNoneFalse
gov_typestrType of government data between: congress, senate and housecongressTrue
past_transactions_monthsintNumber of months to get transactions for6True

Returns

TypeDescription
pd.DataFrameDataFrame of tickers government trading