Interface SubmissionLegServerFieldSet
public interface SubmissionLegServerFieldSet
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a field to this eventdefault void
The amount to trade, specified in the dealt currency.default void
setBuySell
(Object value) Whether the client wants to buy or sell the base currency, NOT the dealt currency.default void
setFixingDate
(Object value) The fixing date for NDF trades only, in ISO format (only support standard settlement dates) Example value: 20160513default void
setRemarks
(Object value) The clients or trader's comments on a tradedefault void
setRequestedProfitCurrency
(Object value) The preferred currency to be used in calculating sales profit details.default void
setSettlementDate
(Object value) The settlement date for the trade, in ISO format (only support standard settlement dates) Example value: 20160515default void
The tenor at which to settle (only support standard settlement dates, so cannot be broken) Example value: SPOTdefault void
setTOBOUser
(Object value) The user the trade is on behalf of.default void
setTraderRemarks
(Object value) The trader's comments on a trade
-
Method Details
-
addField
Adds a field to this event- Parameters:
fieldName
- The name of the field to add.value
- The value of the field to add. If the value is a BigDecimal then it will be converted to aString
usingBigDecimal.toPlainString()
-
setAmount
The amount to trade, specified in the dealt currency. Example value: 50000- Parameters:
value
- The value to be set passed by i18n
-
setBuySell
Whether the client wants to buy or sell the base currency, NOT the dealt currency. For example if the currency pair is EURGBP and this value is EUR then this field always tells you if the client wants to buy or sell EUR, even if the dealt currency is GBP. The dealt currency simply tells you which currency the client has specified the amount in. Example value: SELL- Parameters:
value
- The value to be set passed by i18n
-
setSettlementDate
The settlement date for the trade, in ISO format (only support standard settlement dates) Example value: 20160515- Parameters:
value
- The value to be set passed by i18n
-
setRequestedProfitCurrency
The preferred currency to be used in calculating sales profit details. Example value: GBP- Parameters:
value
- The value to be set passed by i18n
-
setTenor
The tenor at which to settle (only support standard settlement dates, so cannot be broken) Example value: SPOT- Parameters:
value
- The value to be set passed by i18n
-
setFixingDate
The fixing date for NDF trades only, in ISO format (only support standard settlement dates) Example value: 20160513- Parameters:
value
- The value to be set passed by i18n
-
setTOBOUser
The user the trade is on behalf of.- Parameters:
value
- The value to be set passed by i18n
-
setRemarks
The clients or trader's comments on a trade- Parameters:
value
- The value to be set passed by i18n
-
setTraderRemarks
The trader's comments on a trade- Parameters:
value
- The value to be set passed by i18n
-