Skip to main content

Insiders

Overview

The Insiders module provides endpoints to the Insiders Trading menu in the OpenBB Terminal. The contents of the module are displayed on screen with:

openbb.stocks.ins?

or:

help(openbb.stocks.ins)
Type:        property
String form: <property object at 0x7f3df1102f70>
Docstring:
Stocks Insiders Submodule

Attributes:

`act`: Get insider activity. [Source: Business Insider]

`act_chart`: Display insider activity. [Source: Business Insider]

`blcp`: Get latest CEO/CFO purchases > 25k

`blcs`: Get latest CEO/CFO sales > 100k

`blip`: Get latest insider purchases > 25k

`blis`: Get latest insider sales > 100k

`blop`: Get latest officer purchases > 25k

`blos`: Get latest officer sales > 100k

`filter`: Get insider trades based on preset filter

`lcb`: Get latest cluster buys

`lins`: Get last insider activity for a given stock ticker. [Source: Finviz]

`lins_chart`: Display insider activity for a given stock ticker. [Source: Finviz]

`lip`: Get latest insider purchases

`lis`: Get latest insider sales

`lit`: Get latest insider trades

`lpsb`: Get latest penny stock buys

`print_insider_data`: Print insider data

`print_insider_data_chart`: Print insider data

`stats`: Get OpenInsider stats for ticker

How to Use

Try the next two commands for ticker-specific information.

stats

The last 100 results are returned.

openbb.stocks.ins.stats('wmt')
XFiling DateTrading DateTickerInsiderTitleTrade TypePriceQuantityOwnedDelta OwnValueFiling LinkTicker LinkInsider Link
02023-05-01 17:18:332023-04-27WMTFurner John R.EVPS - Sale$151.00-4,375288,434-1%-$660,625http://www.sec.gov/Archives/edgar/data/104169/000112760223013917/xslF345X03/form4.xmlhttp://openinsider.com/WMThttp://openinsider.com/insider/Furner-John-R./1696737
1M2023-03-30 18:36:052023-03-29WMTWalton S RobsonDir, 10%S - Sale$144.75-3,412,3701,249,821,9700%-$493,930,674http://www.sec.gov/Archives/edgar/data/104169/000112760223011663/xslF345X03/form4.xmlhttp://openinsider.com/WMThttp://openinsider.com/insider/Walton-S-Robson/1219112

act

This command returns the information a bit differently.

openbb.stocks.ins.act('wmt')
DateShares TradedShares HeldPriceTypeOptionInsider
2023-03-27 00:00:00341,149.00249,123,886.00144.23SellNoWALTON S ROBSON
2023-03-27 00:00:00341,149.00249,123,886.00144.23SellNoWALTON ALICE L
2023-03-27 00:00:001,259,851.00249,465,035.00143.71SellNoWALTON ALICE L
2023-03-28 00:00:001,640,457.00247,483,429.00144.06SellNoWALTON S ROBSON
2023-03-28 00:00:00267,874.00247,215,555.00144.7SellNoWALTON S ROBSON
2023-03-28 00:00:001,640,457.00247,483,429.00144.06SellNoWALTON ALICE L

Other functions in this module return all tickers, based on the latest SEC Form-4 filings.

lpsb

Short for, Latest Penny Stock Buys, this command filters for insider purchases of penny stocks.

openbb.stocks.ins.lpsb().head(3)
XFiling DateTrade DateTickerCompany NameInsider NameTitleTrade TypePriceQtyOwnedDiff OwnValue
0M2023-05-172023-05-15ADVAdvantage SolutionsPeacock David ACEOP - Purchase$1.611600001858112+9%+$257,752
16:30:22Inc.
1-2023-05-172023-05-17SONDSonder Holdings Inc.Rothenberg Philip LGC,P - Purchase$0.45300000300000New+$135,000
16:17:31Secretary
2M2023-05-172023-05-15SONDSonder Holdings Inc.Davidson FrancisCEOP - Purchase$0.416156454060224+18%+$249,596
16:15:08

lit

Stands for, Latest Insider Trades, and returns the last one-hundred insider trades, market-wide.

openbb.stocks.ins.lit().head(3)
XFiling DateTrade DateTickerCompany NameInsider NameTitleTrade TypePriceQtyOwnedDiff OwnValue
0DM2023-05-172023-05-15AMZNAmazon Com IncSelipsky AdamCEO AmazonS - Sale+OE$110.47-11260150103-7%-$1,243,914
16:40:35Web
Services
1D2023-05-172023-05-15TDUPThredup Inc.Nakache PatriciaDir, 10%S - Sale+OE$3.01-2812376976-27%-$84,650
16:39:59
2-2023-05-172023-05-15RRCRange Resources CorpScucchi MarkEVP, CFOS - Sale$27.39-153000772540-17%-$4,190,670
16:39:52

lip & lis filter for purchases and sales, respectively.

filter

The filter function is a customizable screener that allows scanning in greater detail. User-generated presets are saved in the OpenBBUserData folder, under: ~/OpenBBUserData/presets/stocks/insider. Presets included with the code are located in the source code, here. Use, template.ini, as a starting point. The following fields are allowed:

[General]
# Symbols or CIKs
Tickers =
# Insider Name or CIK
Insider =
SharePriceMin =
SharePriceMax =
LiquidityMinM =
LiquidityMaxM =

[Date]
# All dates, Custom, Latest Day, Last 3 days, Last 1 week, Last 2 weeks, Last 1 month, Last 2 months, Last 3 months, Last 6 months, Last 1 year, Last 2 years, Last 4 years.
FilingDate = All dates
# This is only regarded if FillingDate = Custom, format: dd/mm/yyyy
FilingDateFrom =
FilingDateTo =
# All dates, Custom, Latest Day, Last 3 days, Last 1 week, Last 2 weeks, Last 1 month, Last 2 months, Last 3 months, Last 6 months, Last 1 year, Last 2 years, Last 4 years.
TradingDate = All dates
# This is only regarded if FillingDate = Custom, format: dd/mm/yyyy
TradingDateFrom =
TradingDateTo =
# These values need to be smaller than 100
FilingDelayMin =
FilingDelayMax =
NDaysAgo =

[TransactionFiling]
# The following values are meant to be either: 'true' or empty for False.
P_Purchase = true
S_Sale = true
A_Grant =
D_SaleToLoss =
G_Gift =
NoDeriv =
F_Tax =
M_OptionEx =
X_OptionEx =
C_CnvDeriv =
W_Inherited =
MultipleDays =
# These values need to be multiples of 5
TradedMinK =
TradedMaxK =
# These values need to be between 0 and 100%
OwnChangeMinPct =
OwnChangeMaxPct =

[Industry]
# Available industry options at bottom of the file.
# Sector -> Subsector -> Industry
SectorSubsectorIndustry = All Sectors (except Funds)

[InsiderTitle]
# The following values are meant to be either: 'true' or empty for False.
COB =
CEO =
Pres =
COO =
CFO =
GC =
VP =
# 'Officer' includes all of the above: COB, CEO, Pres, COO, CFO, GC, VP
Officer =
Director =
10PctOwn =
Other =

[Others]
# Filing, Company.
GroupBy = Filing
# Filing Date, Trade Date, Ticker Symbol, Trade Value.
SortBy = Filing Date
# 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000.
MaxResults = 100
# Between 1 and 99, inclusive.
Page = 1

# This only exists if GroupBy = Company
[CompanyTotals]
# These values need to be smaller than 100
FilingsMin =
FilingsMax =
# These values need to be smaller than 10
InsidersMin =
InsidersMax =
OfficersMin =
OfficersMax =
# These values need to be multiples of 5
TradedMinK =
TradedMaxK =
# These values need to be between 0 and 100%
OwnChangeMinPct =
OwnChangeMaxPct =

The sector industrial classification is also selectable. Most of the included presets are for filtering by industry. For example, Mortgages.

Do not include .ini in the preset name.

openbb.stocks.ins.filter("Mortgages")
XFiling DateTrading DateTickerInsiderTitleTrade TypePriceQuantityOwnedDelta OwnValueFiling LinkTicker LinkInsider LinkCompany
02023-04-05 18:25:232023-04-04PFSISpector DavidCOB, CEOS - Sale$59.71-15,0001,070,787-1%-$895,713http://www.sec.gov/Archives/edgar/data/1745916/000112760223012621/xslF345X03/form4.xmlhttp://openinsider.com/PFSIhttp://openinsider.com/insider/Spector-David/1275713Pennymac Financial Services, Inc.
1D2023-04-04 17:32:572023-03-31FOABlackstone Tactical Opportunities Associates - Nq L.L.C.10%P - Purchase$1.38+10,869,56624,386,710+80%+$15,000,001http://www.sec.gov/Archives/edgar/data/1828937/000089924323010452/xslF345X03/doc4.xmlhttp://openinsider.com/FOAhttp://openinsider.com/insider/Blackstone-Tactical-Opportunities-Associates---Nq-L.L.C./1844883Finance of America Companies Inc.
2D2023-04-04 17:31:432023-03-31FOABto Urban Holdings L.L.C.10%P - Purchase$1.38+10,869,56624,386,710+80%+$15,000,001http://www.sec.gov/Archives/edgar/data/1828937/000089924323010448/xslF345X03/doc4.xmlhttp://openinsider.com/FOAhttp://openinsider.com/insider/Bto-Urban-Holdings-L.L.C./1854686Finance of America Companies Inc.
3D2023-04-04 17:27:242023-03-31FOABlackstone Tactical Opportunities Fund - U - Nq L.L.C.10%P - Purchase$1.38+10,869,56624,386,710+80%+$15,000,001http://www.sec.gov/Archives/edgar/data/1828937/000089924323010444/xslF345X03/doc4.xmlhttp://openinsider.com/FOAhttp://openinsider.com/insider/Blackstone-Tactical-Opportunities-Fund---U---Nq-L.L.C./1853348Finance of America Companies Inc.

Try the whales preset to track some of the big money:

openbb.stocks.ins.filter("whales")
XFiling DateTrading DateTickerInsiderTitleTrade TypePriceQuantityOwnedDelta OwnValueFiling LinkTicker LinkInsider LinkCompany
0DM2023-05-15 21:26:392023-05-11OXYBerkshire Hathaway Inc10%P - Purchase$58.06+2,165,792213,966,443+1%+$125,746,876http://www.sec.gov/Archives/edgar/data/797468/000089924323013028/xslF345X03/doc4.xmlhttp://openinsider.com/OXYhttp://openinsider.com/insider/Berkshire-Hathaway-Inc/1067983Occidental Petroleum Corp /De/
1M2023-05-15 16:32:032023-05-11MAMastercard Foundation10%S - Sale$381.83-377,44899,808,1970%-$144,121,385http://www.sec.gov/Archives/edgar/data/1141391/000089534523000297/xslF345X03/form4.xmlhttp://openinsider.com/MAhttp://openinsider.com/insider/Mastercard-Foundation/1421897Mastercard Inc
22023-05-12 19:50:562023-05-10STZAjb Business Holdings LPMember of 10% owner groupS - Sale$223.53-650,0003,365,715-16%-$145,294,500http://www.sec.gov/Archives/edgar/data/16918/000089924323012892/xslF345X03/doc4.xmlhttp://openinsider.com/STZhttp://openinsider.com/insider/Ajb-Business-Holdings-LP/1955386Constellation Brands, Inc.
32023-05-12 19:46:152023-05-10STZZmss Business Holdings LPMember of 10% owner groupS - Sale$223.53-650,0003,365,715-16%-$145,294,500http://www.sec.gov/Archives/edgar/data/16918/000089924323012888/xslF345X03/doc4.xmlhttp://openinsider.com/STZhttp://openinsider.com/insider/Zmss-Business-Holdings-LP/1955193Constellation Brands, Inc.