Package | Description |
---|---|
com.caplin.motif.fx.trading.orders.details |
Classes and interfaces that relate to supplying the details of a previously submitted order strategy.
|
com.caplin.motif.fx.trading.orders.edit.event |
Classes that represent the events that can happen during an attempt to edit an existing order or order strategy.
|
Modifier and Type | Method and Description |
---|---|
Strategy |
StrategyBuilder.build()
Materialises a Strategy object as configured by the StrategyBuilder.
|
Strategy |
StrategyBuilder.build(boolean isSales)
Materialises a Strategy object as configured by the StrategyBuilder, including sales fields if isSales
is true.
|
Strategy |
Strategy.getPreviousStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
StrategyDetailsCallback.onImage(Strategy strategy)
Call this method when you have retrieved the details of the strategy from your trading system
and are ready to send them back to the client.
|
void |
StrategyDetailsCallback.onUpdate(Strategy strategy)
Call this method when you have retrieved the details of the strategy from your trading system
and are ready to send them back to the client.
|
Constructor and Description |
---|
StrategyBuilder(Strategy previousStrategy)
Creates a new StrategyBuilder with previous fieldSets.
|
Modifier and Type | Method and Description |
---|---|
Strategy |
StrategyEvent.getStrategy()
Returns the latest strategy, updated by this event
|
Constructor and Description |
---|
EditAcceptEvent(Strategy strategy)
Constructs an EditAcceptEvent with the event name "EditAccept".
|
RefreshEvent(Strategy strategy)
Constructs an RefreshEvent with the event name "Refresh".
|
SaveAcceptEvent(Strategy strategy)
Constructs a SaveAcceptEvent with the event name "SaveAccept".
|
SaveAndCompleteEvent(Strategy strategy,
String orderID)
Constructs a SaveAndCompleteEvent with the event name "SaveAndComplete".
|
SaveEvent(Strategy strategy,
com.google.common.collect.ImmutableList<Order> editedOrders,
com.google.common.collect.ImmutableList<Order> editableOrdersWithChangedEditableFields)
Constructs an SaveEvent with the event name "Save".
|
StrategyEvent(String eventName,
Strategy strategy) |
ValidationErrorEvent(Strategy strategy)
Constructs an ValidationErrorEvent with the event name "ValidationError".
|
Copyright © 2015 Caplin Systems.