CPPKiteConnect
kiteconnect::position Struct Reference

Represents an individual position. More...

#include <portfolio.hpp>

Collaboration diagram for kiteconnect::position:

Public Member Functions

 position (const rj::Value::Object &val)
 
void parse (const rj::Value::Object &val)
 

Public Attributes

uint32_t instrumentToken = 0
 
int quantity = -1
 
int buyQuantity = -1
 
int overnightQuantity = -1
 
int sellQuantity = -1
 
int dayBuyQuantity = -1
 
int daySellQuantity = -1
 
double multiplier = -1
 
double averagePrice = -1
 
double closePrice = -1
 
double lastPrice = -1
 
double value = -1
 
double PnL = -1
 
double M2M = -1
 
double unrealised = -1
 
double realised = -1
 
double buyPrice = -1
 
double buyValue = -1
 
double buyM2MValue = -1
 
double sellPrice = -1
 
double sellValue = -1
 
double sellM2MValue = -1
 
double dayBuyPrice = -1
 
double dayBuyValue = -1
 
double daySellPrice = -1
 
double daySellValue = -1
 
string tradingsymbol
 
string exchange
 
string product
 

Detailed Description

Represents an individual position.


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