All Snippets

Live trading statistics from streaming trades

Get trading statistics about the last hour of trading

Current available drivers counter

Count the number of drivers available in the given area.

Real-time Z-score for requested ride duration

Computes the z-score of the requested ride, relative to historical rides.

Historical ride duration statistics

Compute the mean and standard deviation of ride durations.

Ride request counter

Count the number of rides recently requested in the given area.

Daily returns for stocks

Determine the percent of daily return from one closing price to the next closing price.

Yesterday’s stock closing prices

Get the previous day's closing price (useful for day-to-day comparisons).

Search query and candidate product title similarity

Compute the Jaccard similarity between the user's search query and the candidate product title.

Today’s stock closing prices

Get the closing price of a stock.

Daily transaction stock statistics

Analyse stock trades made each day.

Closing stock price metrics

Analyse closing prices seen over different timespans.

Candidate product was viewed by user

Determine if the candidate product is included in the user's most recent 10 product visits within the last hour.

Product popularity metrics

Determine the popularity of a candidate product by analyzing its visit count, cart additions, and purchase frequency.

Applicant’s total spend across accounts

Determine an applicant’s total spend across accounts in the last 30, 60, and 90 days.

User engagement with a product

Determine how recently your users have engaged with a product.

User’s historical interactions with all product categories

Aggregate a user’s historical interactions with all product categories.

Z-score of current transaction amount

Identify by how many standard deviations the current transaction amount deviates from the mean transaction amount for a user.

Ratings for similar products by user

Capture a user’s previous interactions and ratings with books from the same author and category as the book currently being considered.

Most recent user ratings

Retrieve a user’s latest unique distinct product ratings within the past 365 days.

Product’s aggregate ratings

Statistically capture the popularity of a product.

User-merchant transaction count

Examine the number of transactions made by a user at the same merchant in the 30 minutes immediately preceding the current transaction time.

Standard deviation of user spend

Measure the degree to which a user’s recent transactions differ from their usual behavior.

Current and last transaction distance

Calculate the distance between the current transaction location and the user’s previous transaction location.