About Corporate Buybacks

The Corporate Buybacks dataset by Smart Insider tracks US Equities share buyback programs. The data covers 3,000 US Equities, starts in May 2015, and is delivered on a second frequency. This dataset is created by analyzing daily buyback announcements and by using secondary data sources to ensure records are accurate and complete.

This dataset depends on the US Equity Security Master dataset because the US Equity Security Master dataset contains information on splits, dividends, and symbol changes.


About Smart Insider

Smart Insider was founded by Michael Tindale in 2016 with the goal of forming the most progressive insider data vendor in the field. Smart Insider provides access to buyback intention and transactions for quantitative researchers. In addition to their Corporate Buybacks dataset, Smart Insider provides data on stock trades made by US politicians and thousands of high net worth individuals around the globe.


About QuantConnect

QuantConnect was founded in 2012 to serve quants everywhere with the best possible algorithmic trading technology. Seeking to disrupt a notoriously closed-source industry, QuantConnect takes a radically open-source approach to algorithmic trading. Through the QuantConnect web platform, more than 50,000 quants are served every month.


Algorithm Example

class CorporateBuybacksDataAlgorithm(QCAlgorithm):

    def Initialize(self) -> None:
        self.SetStartDate(2016, 1, 1)
        self.SetEndDate(2021, 1, 1)
        self.SetCash(100000)
 
        self.aapl = self.AddEquity("AAPL", Resolution.Minute).Symbol
        
        # Requesting data
        self.smart_insider_intention = self.AddData(SmartInsiderIntention, self.aapl).Symbol
        self.smart_insider_transaction = self.AddData(SmartInsiderTransaction, self.aapl).Symbol
        
        # Historical data
        history = self.History(self.smart_insider_intention, 365, Resolution.Daily)
        self.Debug(f"We got {len(history)} items from our history request for intentions")
        
        history = self.History(self.smart_insider_transaction, 365, Resolution.Daily)
        self.Debug(f"We got {len(history)} items from our history request for transactions")

    def OnData(self, slice: Slice) -> None:
        # Buy Apple whenever we receive a buyback intention or transaction notification
        if slice.ContainsKey(self.smart_insider_intention) or slice.ContainsKey(self.smart_insider_transaction):
            self.SetHoldings(self.aapl, 1)
            self.entry_time = self.Time
        
        # Liquidate holdings 3 days after the latest entry
        if self.Portfolio.Invested and self.Time >= self.entry_time + timedelta(days=3):
            self.Liquidate()

Example Applications

The Corporate Buybacks dataset enables you to design strategies using information on company buyback programs. Examples include the following strategies: