public class StrategyFieldSet extends BaseFieldSet
Represents a set of fields relating to an order strategy.
You do not have to create instances of this class yourself. You can retrieve
instances of this class by calling StrategyBuilder.getEditableFields()
or
StrategyBuilder.getFixedFields()
.
Modifier and Type | Method and Description |
---|---|
StrategyFieldSet |
setAccount(Account account)
Sets the account.
|
StrategyFieldSet |
setAccount(String accountID,
String accountName)
Sets the account.
|
StrategyFieldSet |
setActivationDate(ActivationDate activationDate)
Sets the date, time and location the strategy or order should be activated.
|
StrategyFieldSet |
setAlertType(Set<AlertType> alertTypes)
Sets the AlertType
|
StrategyFieldSet |
setCurrencyPair(String value)
Sets the currency pair.
|
StrategyFieldSet |
setExpirationDate(ExpirationDate expirationDate)
Sets the date, time and location the strategy or order should expire.
|
StrategyFieldSet |
setMemo(String memo)
Set Memo - the taker short note of the order.
|
StrategyFieldSet |
setRemarks(String remarks)
Sets the Remarks
|
StrategyFieldSet |
setSpotRateDPS(Object spotRateDPS)
Sets the spot rate DPS.
|
StrategyFieldSet |
setStrategyType(StrategyType strategyType)
Sets the type of the strategy, for example SINGLE or OCO ("One
Cancels the Other").
|
StrategyFieldSet |
setSubmittedBy(String username)
Sets the username of the user who submitted the strategy.
|
StrategyFieldSet |
setSubmittedFor(String username)
Sets the username of the user who the strategy is for.
|
StrategyFieldSet |
setTOBOUser(String toboUser)
Sets the trade on behalf of user.
|
setField, setFields, toString
public StrategyFieldSet setAccount(String accountID, String accountName)
accountID
- The identifier of the account.accountName
- A "friendly name" for the account, for display in the front end.public StrategyFieldSet setAccount(Account account)
account
- The account, with id and namepublic StrategyFieldSet setCurrencyPair(String value)
value
- The currency pair.public StrategyFieldSet setActivationDate(ActivationDate activationDate)
activationDate
- A domain object representing the activation date.ActivationDate
public StrategyFieldSet setExpirationDate(ExpirationDate expirationDate)
expirationDate
- A domain object representing the expiration date.public StrategyFieldSet setAlertType(Set<AlertType> alertTypes)
alertTypes
- the set of AlertTypes for this strategypublic StrategyFieldSet setRemarks(String remarks)
remarks
- to be attached to the order or strategypublic StrategyFieldSet setMemo(String memo)
memo
- to be attached to the order or strategypublic StrategyFieldSet setStrategyType(StrategyType strategyType)
strategyType
- The type of the strategy.public StrategyFieldSet setSubmittedBy(String username)
username
- The username.public StrategyFieldSet setSubmittedFor(String username)
username
- The username.public StrategyFieldSet setTOBOUser(String toboUser)
toboUser
- public StrategyFieldSet setSpotRateDPS(Object spotRateDPS)
spotRateDPS
- Copyright © 2015 Caplin Systems.