ROOT_Application
2.0
C++ Core modules and GUIStock
|
Classes for data to be stored in ListDataStock. More...
#include <ctime>
#include <string>
#include <iostream>
#include <sstream>
#include <vector>
#include "../utils/Utils.h"
Go to the source code of this file.
Data Structures | |
class | DataStock |
Abstract base class for all Data to be stored in ListDataStock. More... | |
class | SimpleData |
Derive class which contains only one value of type type_value_data (float or double). More... | |
class | MultiData |
Generalisation of SimpleData, contains a vector of type_value_data values. More... | |
class | DataCSV |
Data type to describe Japanese candlesticks : open, high, low and close values. More... | |
Namespaces | |
EDS | |
For Enumeration DataStock. | |
BDS | |
For buffer DataStock. | |
Typedefs | |
typedef double | type_value_data |
Type of the floating values to be stored, can be set to float or double before compilation. More... | |
Enumerations | |
enum | EDS::ECSV : unsigned int { EDS::ECSV::OPEN =0, EDS::ECSV::HIGH, EDS::ECSV::LOW, EDS::ECSV::CLOSE } |
Convenient enumeration for DataCSV, convertible to unsigned int for a general use in algorithms. More... | |
Functions | |
template<typename ECSV > | |
unsigned int | EDS::as_uint (const ECSV value) |
function to provide a cast of ECSV to unsigned int More... | |
Variables | |
Buffer size used for overloaded friend operator>> and << | |
Made accessible for use in class Stock | |
const int | BDS::BUFFER_STREAM = 256 |
Maximum size buffer intermediate for stream. More... | |
const int | BDS::BUFFER_DATE = 20 |
Contains the date, exactly 19 characters + terminal (terminal not really crucial) More... | |
Classes for data to be stored in ListDataStock.
Contains base and derived classes for dealing with:
MultiData: Variable number of values, i.e. MACD, Bollinger...
Last modified :
Definition in file DataStock.h.
typedef double type_value_data |
Type of the floating values to be stored, can be set to float or double before compilation.
Double seems more appropriate for volume, where large number are present
Definition at line 49 of file DataStock.h.