Trading System API  3.0
Library for Simulating and Deploying Trading and Investment Strategies
Operators (DSL)

Functions

sref< bool > tsa::operator! (auto_cast_bool_series_cref x)
 Unary 'logical not' operator.
 
sref< bool > tsa::operator!= (numeric_series_cref a, numeric_series_cref b)
 comparison.
 
sref< double > tsa::operator% (numeric_series_cref a, numeric_series_cref b)
 Floating point modulo.
 
sref< bool > tsa::operator&& (auto_cast_bool_series_cref a, auto_cast_bool_series_cref b)
 Logical-and. Casts a and b to boolean before checking if both are true.
 
sref< double > tsa::operator* (numeric_series_cref a, numeric_series_cref b)
 Multiplies a by b.
 
sref< double > tsa::operator+ (numeric_series_cref a, numeric_series_cref b)
 Adds a and b.
 
sref< double > tsa::operator- (numeric_series_cref a, numeric_series_cref b)
 Subtracts b from a.
 
sref< double > tsa::operator- (numeric_series_cref)
 Unary minus operator.
 
sref< double > tsa::operator/ (numeric_series_cref a, numeric_series_cref b)
 Divides a by b.
 
sref< bool > tsa::operator< (numeric_series_cref a, numeric_series_cref b)
 comparison.
 
sref< bool > tsa::operator<= (numeric_series_cref a, numeric_series_cref b)
 comparison.
 
sref< bool > tsa::operator== (numeric_series_cref a, numeric_series_cref b)
 comparison.
 
sref< bool > tsa::operator> (numeric_series_cref a, numeric_series_cref b)
 comparison.
 
sref< bool > tsa::operator>= (numeric_series_cref a, numeric_series_cref b)
 comparison.
 
sref< bool > tsa::operator|| (auto_cast_bool_series_cref a, auto_cast_bool_series_cref b)
 Logical-or. Casts a and b to boolean before checking if either is true.
 

Detailed Description