Trading System API  3.0
Library for Simulating and Deploying Trading and Investment Strategies
tsa::time_point_stream Class Referenceabstract

Parent class to classes generating a strategy scheduling sequences. (see strategy::schedule_with()) More...

#include <TSAIntraday.h>

Inheritance diagram for tsa::time_point_stream:
tsa::object tsa::time_point_stream__platform tsa::time_point_stream_daily

Public Member Functions

virtual date_time next_timestamp (const date_time &current_timestamp)=0
 Returns the next timestamp when given the current_timestamp. To be overriden by a derived classes. More...
 
- Public Member Functions inherited from tsa::object
 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...
 

Detailed Description

Parent class to classes generating a strategy scheduling sequences. (see strategy::schedule_with())

Member Function Documentation

virtual date_time tsa::time_point_stream::next_timestamp ( const date_time current_timestamp)
pure virtual

Returns the next timestamp when given the current_timestamp. To be overriden by a derived classes.

Parameters
current_timestampThe current timestamp.
Returns
A date_time.

Implemented in tsa::time_point_stream__platform, and tsa::time_point_stream_daily.