About US Equities Short Availability

The US Equity Short Availability dataset provides the available shares for open short positions in the US Equity market. The data covers 10,500 US Equities, starts in January 2018, and is delivered on a daily frequency. This dataset is created using information from the exchanges.

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 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.

Add US Equities Short Availability

Add Dataset Create Free QuantConnect Account

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

from AlgorithmImports import *
class ShortAvailabilityDataAlgorithm(QCAlgorithm):

    def Initialize(self) -> None:

        self.SetStartDate(2021, 1, 1)
        self.SetEndDate(2021, 7, 1)
        self.SetCash(1000)
        self.SetBrokerageModel(InteractiveBrokersBrokerageModelWithShortable())
        self.equity = self.AddEquity("GME")

        self.Schedule.On(
            self.DateRules.EveryDay(self.equity.Symbol),
            self.TimeRules.AfterMarketOpen(self.equity.Symbol, 10),
            self.Rebalance)

    def Rebalance(self) -> None:
        symbol = self.equity.Symbol
        
        total_shortable_quantity = self.equity.TotalShortableQuantity
        if not total_shortable_quantity:
            total_shortable_quantity = 0
        self.Plot('Total Shortable Quantity', symbol, total_shortable_quantity)

        # First, let's not rebalance if there are no shares to short
        if self.ShortableQuantity(symbol) < 0: return

        # Then, test whether we can short the desired quantity
        quantity = self.CalculateOrderQuantity(symbol, -1)
        if self.Shortable(symbol, quantity):
            self.MarketOrder(symbol, quantity)

    def OnMarginCallWarning(self) -> None:
        self.Liquidate()
 
class InteractiveBrokersBrokerageModelWithShortable(InteractiveBrokersBrokerageModel):
    def GetShortableProvider(self, security):
        return InteractiveBrokersShortableProvider()

Example Applications

The US Equities Short Availability dataset enables you to accurately design strategies harnessing information about short availability. Examples include the following use cases: