sellShortStop()

eSignal EFS 2

sellShortStop()

Top  Previous  Next

 

sellShortStop( symbol, quantity, stop [, route] [, expiry] )

 

Submit a stop order to broker.

 

Parameters

 

symbol

the symbol for which to initiate the trade

quantity

the number of shares/contracts

stop

the stop price

route

optional. the route or exchange for the trade (broker specific)

expiry

optional. expiration for the order:

 

SB_DAY

SB_GTC

SB_IOC

 

Usage

 

sellShortStop( "IDC", 100, 15.00 );

sellShortStop( getSymbol(), 200, 99.00, null, SB_GTC );