Skip to content. | Skip to navigation

Personal tools
Sections
You are here: Home QuickStart Equihack Language Understanding Our Operators

Understanding Our Operators

The guide will explain the different types of operators and provide you with the knowledge to successfully use them to create powerful conditions in you stock screens and trading models.

Operators tell the filter what to do with the data you select. Operators are the verbs in the filter.

Across Operators

Across Oprators allow you calculate data fields or terms across any set of stocks. For instance, one could find the average (Total Assets / Total Liabilities) across stocks with a market cap greater than 50 billion. Or one could require that a stock's PE must rank in the bottom 25% of its industry. The possibilities are endless.

In the across operators there will be an across field and a where field like you see below:

After the across field you will indicate the set of stocks that will be included and after the where field you will indicate what the set of stocks must meet to be included.

Here is a list of all supported Across Operators:

Within Operators

Within Operators have a field that allows you to specify the number of trading days to evaluate the operator. The operators perform many different functions. For Instance, one could find stocks whose close is always greater than thier open within 5 trading days. Or one could compute moving averages using the average within operator.

Here is a list of all supported Within Operators:

Since Operators

Since Operators have a date field where you specify what date to evaluate the operator from. The operators perform many different functions. For Instance, one could find stocks whose quarterly sales have always increased since 01/01/2009. Or one could find stocks whose current closing price ranks in the top 10% of all of its closing prices since 06/01/2012.

Here is a list of all supported Since Operators:

Normal Operators

Besides our across, within, and since operators we have numerous other operators that perofrm a range of functions that allows you to create robust conditions.

Examples below:

plus (+)

minus(-)

less than (<)

greater than (>)

equals (=)

Multiply (X)

Divided By (/)

Not Equals

Absolute Value (abs)

Absolute Ratio (Abs ratio)

And

As of

At

Average

Change Over

Classify As

Count

Exponential Moving Average (ema)

If

Max

Min

Not

Odds

Or

Percentile

Rank

Round

Round Power

Standard Deviation (stddev)

Variance