![]() |
Trading System API
3.0
Library for Simulating and Deploying Trading and Investment Strategies
|
Class to dynamically generate daily intervals for strategy scheduling purposes. Instances should be declared as a strategy member and passed to strategy::schedule_with() as part of strategy::on_start(). More...
#include <TSAIntraday.h>
Public Member Functions | |
virtual date_time | next_timestamp (const date_time ¤tTimestamp) override |
Returns the next timestamp when given the current_timestamp. To be overriden by a derived classes. More... | |
![]() | |
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... | |
Class to dynamically generate daily intervals for strategy scheduling purposes. Instances should be declared as a strategy member and passed to strategy::schedule_with() as part of strategy::on_start().
|
overridevirtual |
Returns the next timestamp when given the current_timestamp. To be overriden by a derived classes.
current_timestamp | The current timestamp. |
Implements tsa::time_point_stream.