Interface StrategyDetailsGenerator

All Known Implementing Classes:
FxMotifStrategyDetailsGenerator

public interface StrategyDetailsGenerator
An interface for working with StrategyBuilders.
  • Method Details

    • initialise

      void initialise(OrderDetailsGenerator.Context context)

      This notifies the StrategyDetailsGenerator that it is about to be loaded. This method will be called by the system once.

      You should use this method to perform any initialisation required before the StrategyDetailsGenerator is loaded by the system.

    • populateStrategyBuilder

      StrategyBuilder populateStrategyBuilder(com.caplin.ret.trapi.fx.order.strategy.StrategyTree tree, StrategyBuilder builder) throws OrderConfigurationException
      Creates a new StrategyBuilder and populates it with fields from the given StrategyTree.
      Throws:
      OrderConfigurationException
    • updateStrategyBuilderWithDeletedOrder

      void updateStrategyBuilderWithDeletedOrder(StrategyBuilder strategyBuilder, com.caplin.ret.trapi.fx.order.OrderEvent event)
      Updates an existing StrategyBuilder with fields from an OrderEvent.
    • updateStrategyBuilderWithOrderHistory

      void updateStrategyBuilderWithOrderHistory(StrategyBuilder strategyBuilder, com.caplin.ret.trapi.fx.order.OrderEventHistories orderHistory)
      Updates an existing StrategyBuilder with fields from OrderEventHistories.