Class OrderDetailsPartsDef.LegFields
java.lang.Object
com.caplin.generated.motif.fx.orders.OrderDetailsPartsDef.LegFields
- All Implemented Interfaces:
BuilderMessage,Message
- Enclosing class:
- OrderDetailsPartsDef
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull OrderDetailsPartsDef.LegFieldsstatic @NotNull OrderDetailsPartsDef.LegFields@Nullable Boolean@Nullable BigDecimal@Nullable LocalDate@Nullable LocalTime@Nullable ZoneId@Nullable String@Nullable String@Nullable Integer@Nullable String@Nullable String@Nullable Boolean@Nullable String@NotNull Map<String,Collection<String>> @Nullable BigDecimal@Nullable BigDecimal@Nullable String@Nullable StringDeprecated.@NotNull Map<String,Collection<String>> @Nullable String@Nullable Instant@Nullable BigDecimal@Nullable Integer@Nullable String@Nullable LocalDate@Nullable String@Nullable LocalDate@Nullable String@Nullable String@Nullable String@Nullable Integer@Nullable String@Nullable BigDecimal@Nullable String@Nullable String@Nullable String@Nullable Instant@Nullable String@Nullable Stringstatic @NotNull OrderDetailsPartsDef.LegFields.Builder@NotNull StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.caplin.motif.datasource.BuilderMessage
getFieldFlags, getFlagFields
-
Method Details
-
getEditable
- Returns:
- Whether a trade or order is editable.
-
getOrderID
- Returns:
- The id of the order.
-
getStatus
- Returns:
- Status of the trade. Frontends may use this value for display purpose, but no logic is associated with it. Use Can* flags to drive post-trade logic.
-
getOrderStatus
- Returns:
- Caplin supported statuses are [PENDING-ACCEPT, PENDING-ACTIVATION, PENDING-CONFIRMATION, ACTIVE, PARENT-ACTIVE, PENDING-DEACTIVATION, DEACTIVATED, EXPIRED, COMPLETED, REJECTED, PENDING-CANCEL, CANCELLED, CANCELLED-BY-PARTNER]
-
getSubmittedDateTime
- Returns:
- The time and date a trade or order was submitted
-
getLastActionBy
- Returns:
- The last person or system to perform an action on an order.
-
getLastActionDateTime
- Returns:
- The time and date of the last action on an order.
-
getAmount
- Returns:
- The amount of a trade or order in the DealtCurrency.
-
getFilled
- Returns:
- The amount of an order that has been filled.
-
getRemaining
- Returns:
- The amount of an order that has not been filled.
-
getMonitorSide
- Returns:
- The side that should be monitored for an order to be triggered.
-
getDealtCurrency
- Returns:
- The currency of the Amount of a trade or order.
-
getBuySell
- Returns:
- The direction of the trade or trade leg, from the client's perspective. This always refers to the BaseCurrency, NOT the DealtCurrency.
-
getExecutionType
- Returns:
- The order type. Caplin supported types are [BENCHMARK, CALL-ORDER, MARKET, PEGGED, STOP-LOSS, TAKE-PROFIT]
-
getBenchmarkType
- Returns:
- The benchmark order name. For example, ECB.
-
getBenchmarkTime
- Returns:
- The fixing time of the benchmark in ISO-8601 format
-
getBenchmarkDate
- Returns:
- The fixing date of the benchmark in ISO-8601 format
-
getBenchmarkTimeZone
- Returns:
- The TZ format timezone for the provided time and date
-
getLimitPrice
- Returns:
- The price at which a leg should fill.
-
getRemarks
- Returns:
- The text content of a comment left on a leg of a trade or order, visible to Client and sales and possibly the trader, set/edited by Client or sales
-
getChildLegId
- Returns:
- The id of the child leg, if the order has a child leg
-
getChildRelationship
- Returns:
- Describes the relationship with the child if it exists.
-
getPartnerLegId
- Returns:
- The id of the partner leg, if the order has a partner leg
-
getPartnerRelationship
- Returns:
- Describes the relationship with the partner leg if it exists.
-
getLoopLegId
- Returns:
- The leg to loop back to upon completion.
-
getFillRate
Deprecated.- Returns:
- fillRate
-
getOrderTenor
- Returns:
- The tenor the order will settle on for Forward and NDF orders. Either OrderTenor or OrderSettlementDate should be provided but not both.
-
getOrderSettlementDate
- Returns:
- The settlement date the order will settle on for Forward and NDF orders. Either OrderTenor or OrderSettlementDate should be provided but not both.
-
getOrderFixingDate
- Returns:
- The date an NDF order will fix on if filled.
-
getTemperature
- Returns:
- Shows how close an Order is to its trigger point at the leg level. Shows the maximum of the leg temperatures at the common level [1=cold,2=warm,3=hot,4=very hot,5=target rate reached].
-
getFilledRate
- Returns:
- The rate at which an order has been filled.
-
getOrderType
- Returns:
- The order execution type. Caplin supported types are TAKE-PROFIT, STOP-LOSS, CALL-ORDER, MARKET, BENCHMARK, MARKET, PEGGED.
-
getFillID
- Returns:
- The Trade ID of the trade created when an order is fully filled by a single fill.
-
getTrigger
- Returns:
- The trigger type for the order
-
getSettlementDate
- Returns:
- The date on which the two currencies in the FX trade are exchanged. Can be a tenor or a broken date, i.e. SPOT or 20160314.
-
getAllowPartialFill
- Returns:
- Indicates whether the order leg can be partially filled
-
getFields
-
getFieldFlags
- Specified by:
getFieldFlagsin interfaceBuilderMessage- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFieldsin interfaceBuilderMessage- Returns:
- Get the fields for all flags.
-
toString
-
from
@NotNull public static @NotNull OrderDetailsPartsDef.LegFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull OrderDetailsPartsDef.LegFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-