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

One DCA (dollar-cost averaging) investment plan. More...

#include <types.hpp>

Public Attributes

std::string plan_id
 Plan ID. More...
 
DCAStatus status
 Plan status. More...
 
std::string symbol
 Security symbol. More...
 
std::string member_id
 Member ID. More...
 
std::string aaid
 Account ID. More...
 
std::string account_channel
 Account channel. More...
 
std::string display_account
 Display account. More...
 
longbridge::Market market
 Market. More...
 
std::string per_invest_amount
 Investment amount per period. More...
 
DCAFrequency invest_frequency
 Investment frequency. More...
 
std::string invest_day_of_week
 Day of week for weekly plans (e.g. "Mon") More...
 
std::string invest_day_of_month
 Day of month for monthly plans. More...
 
bool allow_margin_finance
 Whether margin finance is allowed. More...
 
std::string alter_hours
 Advance reminder hours ("1", "6", or "12") More...
 
std::string created_at
 Creation time. More...
 
std::string updated_at
 Last updated time. More...
 
std::string next_trd_date
 Next investment date. More...
 
std::string stock_name
 Security name. More...
 
std::string cum_amount
 Cumulative invested amount. More...
 
int64_t issue_number
 Number of completed investment periods. More...
 
std::string average_cost
 Average cost. More...
 
std::string cum_profit
 Cumulative profit/loss. More...
 

Detailed Description

One DCA (dollar-cost averaging) investment plan.

Member Data Documentation

◆ aaid

std::string longbridge::dca::DcaPlan::aaid

Account ID.

◆ account_channel

std::string longbridge::dca::DcaPlan::account_channel

Account channel.

◆ allow_margin_finance

bool longbridge::dca::DcaPlan::allow_margin_finance

Whether margin finance is allowed.

◆ alter_hours

std::string longbridge::dca::DcaPlan::alter_hours

Advance reminder hours ("1", "6", or "12")

◆ average_cost

std::string longbridge::dca::DcaPlan::average_cost

Average cost.

◆ created_at

std::string longbridge::dca::DcaPlan::created_at

Creation time.

◆ cum_amount

std::string longbridge::dca::DcaPlan::cum_amount

Cumulative invested amount.

◆ cum_profit

std::string longbridge::dca::DcaPlan::cum_profit

Cumulative profit/loss.

◆ display_account

std::string longbridge::dca::DcaPlan::display_account

Display account.

◆ invest_day_of_month

std::string longbridge::dca::DcaPlan::invest_day_of_month

Day of month for monthly plans.

◆ invest_day_of_week

std::string longbridge::dca::DcaPlan::invest_day_of_week

Day of week for weekly plans (e.g. "Mon")

◆ invest_frequency

DCAFrequency longbridge::dca::DcaPlan::invest_frequency

Investment frequency.

◆ issue_number

int64_t longbridge::dca::DcaPlan::issue_number

Number of completed investment periods.

◆ market

longbridge::Market longbridge::dca::DcaPlan::market

Market.

◆ member_id

std::string longbridge::dca::DcaPlan::member_id

Member ID.

◆ next_trd_date

std::string longbridge::dca::DcaPlan::next_trd_date

Next investment date.

◆ per_invest_amount

std::string longbridge::dca::DcaPlan::per_invest_amount

Investment amount per period.

◆ plan_id

std::string longbridge::dca::DcaPlan::plan_id

Plan ID.

◆ status

DCAStatus longbridge::dca::DcaPlan::status

Plan status.

◆ stock_name

std::string longbridge::dca::DcaPlan::stock_name

Security name.

◆ symbol

std::string longbridge::dca::DcaPlan::symbol

Security symbol.

◆ updated_at

std::string longbridge::dca::DcaPlan::updated_at

Last updated time.


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