Files
OpenBB/routines/gov_demo.openbb
Danglewood 7486e7ff86 Adds Introduction to the Stocks Insider Trading Menu (#1931)
* Adds Introduction to the Stocks Insider Trading Menu

Adds intro guide for Insider submenu.

* adds demo routine for the insider trading menu

adds demo routine for the insider trading menu

* adds demo routine for the Government Menu

adds demo routine for the Government Menu

* Adds Introduction to the Government Menu

adds guide for the Government menu.

* Linter

* Removed sentence

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-06-17 11:39:15 -06:00

43 lines
879 B
Plaintext
Vendored

# This script requires you to use arguments. This can be done with the following:
# exe routines/example_with_inputs.openbb -i TSLA,AAPL,MSFT
# Go to the Government submenu
stocks
gov
# Last Senate, Congress & House trades
lasttrades congress
lasttrades senate
lasttrades house
# Lobbying efforts
toplobbying
toplobbying -l 50 --raw
# Government spending
lastcontracts -p 1 -l 100 -s
# Load Microsoft for analysis
load msft
# Show government officials trades over six months
gtrades congress
gtrades congress --raw
gtrades senate
gtrades senate --raw
gtrades house
gtrades house --raw
# Show MSFT lobbying efforts on sigle-issue agendas
lobbying -l 20
# Historical Quarterly Government Contracts Awarded to MSFT
histcont
# Top tickers for overall trading by elected officials
topbuys congress
topbuys senate
topbuys house
topsells congress
topsells senate
topsells house