Longbridge OpenAPI C++ SDK
Classes | Enumerations
longbridge::dca Namespace Reference

Classes

class  DCAContext
 Dollar-cost averaging (DCA) plan management context. More...
 
struct  DcaPlan
 One DCA (dollar-cost averaging) investment plan. More...
 
struct  DcaList
 Response for DCAContext::list and write operations. More...
 
struct  DcaStats
 Response for DCAContext::stats — aggregate DCA statistics. More...
 
struct  DcaSupportInfo
 DCA support info for one security. More...
 
struct  DcaSupportList
 Response for DCAContext::check_support. More...
 
struct  DcaCalcDateResult
 Response for DCAContext::calc_date — next projected trade date. More...
 
struct  DcaCreateResult
 Response for DCAContext::create_dca and DCAContext::update_dca. More...
 
struct  DcaHistoryRecord
 One DCA execution history record. More...
 
struct  DcaHistoryResponse
 Paginated DCA execution history response. More...
 

Enumerations

enum class  DCAFrequency { Daily = 0 , Weekly = 1 , Fortnightly = 2 , Monthly = 3 }
 DCA investment frequency. More...
 
enum class  DCAStatus { Active = 0 , Suspended = 1 , Finished = 2 }
 DCA plan status. More...
 

Enumeration Type Documentation

◆ DCAFrequency

DCA investment frequency.

Enumerator
Daily 
Weekly 
Fortnightly 
Monthly 

◆ DCAStatus

DCA plan status.

Enumerator
Active 
Suspended 
Finished