Constructor
new module:caplin/trading/trademodel/CaplinTradeService()
Constructs a new
TradeService
.
Behaves as both a factory and repository for trades.
It delegates creation of trades to individual factories that are
registered with this service.
Methods
-
addListener()
-
addTradeRestoredListener()
-
getTrades()
-
registerTradeFactory()
-
removeListener()
-
removeTrade()
-
removeTradeRestoredListener()
-
restoreExistingTrade()
-
restoreNewTrade()