Class TransactionRequest
java.lang.Object
com.studerw.tda.model.transaction.TransactionRequest
Request class for account transactions.
If an empty request is sent, then all transactions from all valid dates will be returned for the
account, as allowed by TDA.
If a
startDate
is used, an endDate
must also be used, and vice versa. The maximum
date range is one year, according to TDA's documents.-
Constructor Summary
ConstructorsConstructorDescriptionTransactionRequest
(Transaction.Type type, String symbol) TransactionRequest
(Transaction.Type type, String symbol, LocalDate startDate, LocalDate endDate) TransactionRequest
(String symbol) TransactionRequest
(String symbol, LocalDate startDate, LocalDate endDate) TransactionRequest
(LocalDate startDate, LocalDate endDate) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
void
setEndDate
(LocalDate endDate) void
setStartDate
(LocalDate startDate) void
void
setType
(Transaction.Type type) toString()
-
Constructor Details
-
TransactionRequest
public TransactionRequest() -
TransactionRequest
-
TransactionRequest
-
TransactionRequest
-
TransactionRequest
-
TransactionRequest
public TransactionRequest(Transaction.Type type, String symbol, LocalDate startDate, LocalDate endDate) -
TransactionRequest
-
-
Method Details