Package com.longbridge.dca
Class DcaPlan
- java.lang.Object
-
- com.longbridge.dca.DcaPlan
-
public class DcaPlan extends Object
One DCA (dollar-cost averaging) investment plan.
-
-
Field Summary
Fields Modifier and Type Field Description StringaaidAccount ID.StringaccountChannelAccount channel.booleanallowMarginFinanceWhether margin finance is allowed.StringalterHoursReminder time.BigDecimalaverageCostAverage cost.StringcreatedAtCreation time.BigDecimalcumAmountCumulative invested amount.BigDecimalcumProfitCumulative profit/loss.StringdisplayAccountDisplay account.StringinvestDayOfMonthDay of month for monthly plans.StringinvestDayOfWeekDay of week for weekly plans, e.g.DCAFrequencyinvestFrequencyInvestment frequency.longissueNumberNumber of completed investment periods.MarketmarketMarket.StringmemberIdMember ID.StringnextTrdDateNext investment date.BigDecimalperInvestAmountInvestment amount per period.StringplanIdPlan ID.DCAStatusstatusPlan status.StringstockNameSecurity name.StringsymbolSecurity symbol.StringupdatedAtLast updated time.
-
Constructor Summary
Constructors Constructor Description DcaPlan()
-
-
-
Field Detail
-
planId
public String planId
Plan ID.
-
status
public DCAStatus status
Plan status.
-
symbol
public String symbol
Security symbol.
-
memberId
public String memberId
Member ID.
-
aaid
public String aaid
Account ID.
-
accountChannel
public String accountChannel
Account channel.
-
displayAccount
public String displayAccount
Display account.
-
market
public Market market
Market.
-
perInvestAmount
public BigDecimal perInvestAmount
Investment amount per period.
-
investFrequency
public DCAFrequency investFrequency
Investment frequency.
-
investDayOfWeek
public String investDayOfWeek
Day of week for weekly plans, e.g."Mon".
-
investDayOfMonth
public String investDayOfMonth
Day of month for monthly plans.
-
allowMarginFinance
public boolean allowMarginFinance
Whether margin finance is allowed.
-
alterHours
public String alterHours
Reminder time.
-
createdAt
public String createdAt
Creation time.
-
updatedAt
public String updatedAt
Last updated time.
-
nextTrdDate
public String nextTrdDate
Next investment date.
-
stockName
public String stockName
Security name.
-
cumAmount
public BigDecimal cumAmount
Cumulative invested amount.
-
issueNumber
public long issueNumber
Number of completed investment periods.
-
averageCost
public BigDecimal averageCost
Average cost.
-
cumProfit
public BigDecimal cumProfit
Cumulative profit/loss.
-
-