Caplin Trader 5.1.0

Interface: module:ct-trading/ticket/TicketLauncher

module:ct-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