![]() |
Trading System API
3.0
Library for Simulating and Deploying Trading and Investment Strategies
|
The series cref. More...
#include <TSASeriesTemplate.h>
Public Member Functions | |
series_cref (void) | |
series_cref (const series< T > &other) | |
series_cref (const series_cref< T > &other) | |
virtual | ~series_cref (void) |
const T * | data (void) const |
const series_cref< T > & | name (const std::string &name) const |
std::string | name (void) const |
operator const series< T > & (void) | |
series_cref< T > | operator() (size_t shift_by) const |
void | operator= (const series_cref< T > &other) |
void | operator= (const series< T > &)=delete |
T | operator[] (size_t pos) const |
void | pane_auto_pane (bool b) |
void | pane_dotted_grid (bool b) |
void | pane_grid_color (const tsa::color &c) |
void | pane_h_line (const h_line &hl) |
void | pane_h_line (const tsa::color &c, double y_value, int weight=1) |
const std::vector< tsa::h_line > & | pane_h_lines (void) const |
void | pane_show_grid (bool b) |
void | pane_y_max (double max) |
const variant & | pane_y_max (void) const |
void | pane_y_min (double min) |
const variant & | pane_y_min (void) const |
series_cref< T > & | plot_as (const plot_info &pi) |
const series_cref< T > & | plot_as (const std::string &name, const tsa::variant &period=0.0, plot_type type=plot_type::line, tsa::color clr=tsa::color::auto_color, unsigned weight=2) const |
const series_cref< T > & | plot_as (const std::string &name, const std::vector< tsa::variant > &periods, plot_type type=plot_type::line, tsa::color clr=tsa::color::auto_color, unsigned weight=2) const |
void | push (T)=delete |
void | push (const variant &)=delete |
const series< T > * | series_ptr (void) const |
size_t | size (void) const |
bool | size_ok (size_t sz) const |
type_t | type (void) const |
void | verify_size (size_t sz) const |
![]() | |
object (void) | |
Constructor. | |
virtual | ~object (void) |
Destructor. | |
const char * | class_name (void) const |
Returns the class name as returned by the 'Real Time Type Information' (RTTI) mechanism. More... | |
bool | has_same_class_as (const object &other) const |
Returns true if self has the same type as other object. More... | |
The series cref.
T | Generic type parameter. |