About NFT Sales

The NFT Sales dataset by CryptoSlam! provides Non-Fungible Tokens (NFT) sales volume data in various blockchain marketplaces. This dataset covers 11 blockchains that have their own native Cryptocurrencies. The data starts in June 2017 and is delivered on a daily frequency. This dataset fetches the number of transactions, unique buyers, unique sellers, and the dollar volume of NFT transactions on all secondary marketplaces tracked by CryptoSlam, which includes owner-to-owner sales only (not initial sales from the product directly to the owners).

About CryptoSlam!

CryptoSlam! is an NFT industry data aggregator backed by Mark Cuban. Features project analytics, NFT values, rarity, scarcity, most popular collections, activity history & more.

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 CryptoSlamNFTSalesAlgorithm(QCAlgorithm):
    def Initialize(self) -> None:
        self.SetStartDate(2019, 1, 1)   # Set Start Date
        self.SetEndDate(2020, 12, 31)    # Set End Date

        self.ethusd = self.AddCrypto("ETHUSD", Resolution.Minute).Symbol
        ### Requesting data
        self.eth_nft_sales_symbol = self.AddData(CryptoSlamNFTSales, "ETH").Symbol

        ### Historical data
        history = self.History(self.eth_nft_sales_symbol, 60, Resolution.Daily)
        self.Debug(f"We got {len(history)} items from our history request for ETH CryptoSlam NFT Sales data")

        self.last_avg_sales = None

    def OnData(self, slice: Slice) -> None:
        ### Retrieving data
        data = slice.Get(CryptoSlamNFTSales)
        if self.eth_nft_sales_symbol in data and data[self.eth_nft_sales_symbol] != None:
            current_avg_sales = data[self.eth_nft_sales_symbol].TotalPriceUSD / data[self.eth_nft_sales_symbol].TotalTransactions

            # comparing the average sales changes, we will buy ethereum or hold cash
            if self.last_avg_sales != None and current_avg_sales > self.last_avg_sales:
                self.SetHoldings(self.ethusd, 1)
                self.SetHoldings(self.ethusd, 0)

            self.last_avg_sales = current_avg_sales

Example Applications

The NFT Sales dataset enables you to incorporate NFT sales information into your strategies. Examples include the following strategies: