Longbridge OpenAPI C++ SDK
Public Attributes | List of all members
longbridge::dca::DcaStats Struct Reference

Response for DCAContext::stats — aggregate DCA statistics. More...

#include <types.hpp>

Public Attributes

std::string active_count
 Number of active plans. More...
 
std::string finished_count
 Number of finished plans. More...
 
std::string suspended_count
 Number of suspended plans. More...
 
std::vector< DcaPlannearest_plans
 Nearest upcoming plans. More...
 
std::string rest_days
 Days until next investment. More...
 
std::string total_amount
 Total invested amount. More...
 
std::string total_profit
 Total profit/loss. More...
 

Detailed Description

Response for DCAContext::stats — aggregate DCA statistics.

Member Data Documentation

◆ active_count

std::string longbridge::dca::DcaStats::active_count

Number of active plans.

◆ finished_count

std::string longbridge::dca::DcaStats::finished_count

Number of finished plans.

◆ nearest_plans

std::vector<DcaPlan> longbridge::dca::DcaStats::nearest_plans

Nearest upcoming plans.

◆ rest_days

std::string longbridge::dca::DcaStats::rest_days

Days until next investment.

◆ suspended_count

std::string longbridge::dca::DcaStats::suspended_count

Number of suspended plans.

◆ total_amount

std::string longbridge::dca::DcaStats::total_amount

Total invested amount.

◆ total_profit

std::string longbridge::dca::DcaStats::total_profit

Total profit/loss.


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