CPPKiteConnect
kiteconnect::historicalData Struct Reference

Represents historical data of an instrument. More...

#include <market.hpp>

Collaboration diagram for kiteconnect::historicalData:

Public Member Functions

 historicalData (const rj::Value::Array &val)
 
void parse (const rj::Value::Array &val)
 

Public Attributes

int64_t volume = -1
 
int64_t OI = -1
 
double open = -1
 
double high = -1
 
double low = -1
 
double close = -1
 
string datetime
 

Static Public Attributes

static constexpr uint8_t DATETIME_IDX = 0
 
static constexpr uint8_t OPEN_IDX = 1
 
static constexpr uint8_t HIGH_IDX = 2
 
static constexpr uint8_t LOW_IDX = 3
 
static constexpr uint8_t CLOSE_IDX = 4
 
static constexpr uint8_t VOLUME_IDX = 5
 
static constexpr uint8_t OI_IDX = 6
 

Detailed Description

Represents historical data of an instrument.


The documentation for this struct was generated from the following file: