mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-29 04:32:43 +00:00
* 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>
43 lines
879 B
Plaintext
Vendored
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 |