Introduction to the Government Menu

The features in this menu are intended to show the reported trades of elected officials, lobbyist activity, awarded contracts, and general spending of the United States Treasury Department. This menu only covers the USA, or companies that trade on US exchanges. The information in this menu is compiled by QuiverQuant.

A ticker is not required to enter the menu; navigate there from anywhere in the terminal with absolute path jumping: /stocks/gov

The Government Menu

How to use the Government Menu

The menu is divided into two sections. Features under the Explore: do not depend on individual tickers, while the commands listed under Ticker: do. Entering lasttrades will return a table with the five most recent days of reported trades made by Congress members.

Last trades from Congress

lasttrades senate & lasttrades house will other elected officials.

Last trades posted from the Senate and the House

toplobbying brings up a bar graph of recent big spenders on K Street, that are listed on-exchange. The optional arguments l, --raw & --export changes the number of companies returned, shows a table of the raw data, or exports the data to a file.

Top ten companies actively lobbying the US government

The trivial spending by government can be tracked with the command, lastcontracts. Screwdrivers, furniture, bath towels; keep tabs on where those tax dollars are spent.

The latest agency line items to be reported

load a specific ticker to activate the lower features.


Microsoft is a favourite in Washington; gtrades shows the bullish or bearish tendencies of elected officials over time.

Microsoft trades by elected officials

A table of this chart, with representatives' names, is called by adding the --raw flag to the command string.

Respresentatives and their recent MSFT transactions

A breakdown of single-issue items the company is lobbying for will be printed by the command, lobbying:

(🦋) /stocks/gov/ $ lobbying
2022-05-31: MICROSOFT CORP $30000
        Cascadia High Speed Rail Funding opportunities.   High-skilled immigration reform   Energy efficiency; climate change issues and sustainability   Cyber Security, including protecting elections   Competition policy; supply chain issues.   Workforce development issues; skilling; H.R. 1735, To provide a temporary safe harbor for publishers of online content to collectively negotiate with dominant online platforms regarding the terms on which content may be distributed.   Broadband connectivity; artificial intelligence.   Computer science education   Privacy--intelligence and surveillance.

2022-05-26: MICROSOFT CORPORATION $50000
        Tax reform   ECPA, CS for Al, STEM, TV White Spaces, Ariband, Rural Broadband   Warrants, Surveillance EPCA, Cyber Security   Cyber Security, Bulk Data collection, Surveillance, ECPA, Lawful Access   High Skilled immigration, Immigration reform, DACA

2022-05-13: MICROSOFT $15000
        Issues related to potential VISA reform.   The role of technology in defense. Innovations ability to strengthen national security.   Broadband connectivity and access. Defense technology issues.


2022-04-20: MICROSOFT CORPORATION $70000
        S.1260, United States Innovation and Competition Act of 2021, Workforce training issues H.R.4521, America COMPETES Act of 2022, Workforce training issues Workforce Innovation and Opportunity Act, Workforce training issues   Cyber Security Work Force S.1260, United States Innovation and Competition Act of 2021, Computer Science Education H.R.4521, America COMPETES Act of 2022, Computer Science Education   Workforce issues, generally Computer Science Education



2022-04-20: MICROSOFT CORPORATION $50000
        Privacy; broadband infrastructure adoption and deployment; trade; sustainability education; H.R. John Lewis Voting Rights Advancement Act; Cybersecurity; NDAA; criminal justice reform.

2022-04-20: MICROSOFT CORPORATION $30000
        Monitor possible legislation to provide state tax relief for employees stranded outside their home state by COVID.   Monitor postal reform.   Monitor issues relating to trade agreements.   Monitor cybersecurity legislation. Monitor privacy oversight issues. Monitor issues relating to use of TV white space spectrum.   Monitor H1-B Visas. Monitor issues relating to high-skilled immigration.   Monitor software piracy, counterfeiting, and protection of intellectual property rights. Monitor patent reform.   Competitiveness in the online advertising and software markets. Competitiveness and the high tech sector. Monitor issues related to government access to customer data. Monitor Cloud computing issues. Monitor STEM education legislation. Monitor issues relating to data breach legislation and data breaches. Monitor issues relating to artificial intelligence. Monitor issues relating to facial recognition technology. Monitor issues relating election security technology. Monitor issues relating to Section 230 of the Communications Decency Act.


The consistency of quarterly contract awards over time is reflected in a chart requested by the command, histcont

History of Quarterly Contracts Awarded to MSFT

The ten most purchased and sold stocks amongst Senate Representatives, topsells senate & topbuys senate:

Senate’s Most Bought and Sold Stocks

To play a demonstration in the OpenBB Terminal of the features presented in this guide, execute the routine file, gov_demo.openbb, from the Home Menu.

Playing the demonstration file to this guide

Back to the Introduction to Stocks Guide.