Trading System API  3.0
Library for Simulating and Deploying Trading and Investment Strategies
Database

Group of classes for managing a local fast::database file. More...

Namespaces

 tsa::fast
 namespace for native timeseries database.
 
 tsa::postgres
 Namespace for Postgresql database functionality.
 
 tsa::sqlite
 namespace for sqlite database functionality
 

Classes

class  tsa::column_defs
 Defines the columnar structure of a table. Each column has a name, data type and field size. Instances of this class may also be used to describe the field structure in records. More...
 
class  tsa::data_base
 Base class for all other database classes such as: More...
 

Enumerations

Functions

open_db_flag_type tsa::operator| (open_db_flag_type left_flag, open_db_flag_type right_flag)
 Allows multiple fast::database constructor flags to be combined. More...
 

Detailed Description

Group of classes for managing a local fast::database file.

Enumeration Type Documentation

Enumeration of Database constructor flags. Multiple flags can be combined via operator|.

Enumerator
create_db 

Create the database if it does not already exist.

no_create_db 

Raise an exception if database does not already exist.

truncate_db 

Clears all data in the database upon opening the database.

Function Documentation

open_db_flag_type tsa::operator| ( open_db_flag_type  left_flag,
open_db_flag_type  right_flag 
)

Allows multiple fast::database constructor flags to be combined.

Parameters
left_flagThe left flag.
right_flagThe right flag.
Returns
New flag as a combination of left_flag and right_flag.