Caplin Trader 4.0.3

Interface: module:caplin/trading/ticket/TicketLauncher

module:caplin/trading/ticket/TicketLauncher

Interface for loading a new ticket instance, instances should be registered with the global EventHub

Methods

launchTicket(sInstrument, sDealtCurrency, nAmount)

Launch a new Ticket with the given parameters.
Parameters:
Name Type Description
sInstrument String The instrument to load.
sDealtCurrency String The dealt currency
nAmount Number The amount