Caplin Trader 4.8.0

Class: module:caplin/trading/workbench/ui/StateModelVisualiser

module:caplin/trading/workbench/ui/StateModelVisualiser

Constructor

new module:caplin/trading/workbench/ui/StateModelVisualiser(oStateMonitor, oTradeMessageService, pHappyPathStateNames)

Creates a WorkbenchComponent that visualises trade state and allows for a states within a trade model to be stepped through.
Parameters:
Name Type Description
oStateMonitor module:caplin/trading/workbench/model/StateMachineMonitor The monitor.
oTradeMessageService module:caplin/trading/trademodel/TradeMessageService The message service for trading.
pHappyPathStateNames Array An array of state names that will be used to traverse over when auto executing state changes.
Implements: