sellShortMarket()

eSignal EFS 2

sellShortMarket()

Top  Previous  Next

 

sellShortMarket( symbol, quantity [, route] [, expiry] )

 

Submit a market order to broker.

 

Parameters

 

symbol

the symbol for which to initiate the trade

quantity

the number of shares/contracts

route

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

expiry

optional. expiration for the order:

 

SB_DAY

SB_GTC

SB_IOC

 

Usage

 

sellShortMarket( "IDC", 100 );

sellShortMarket( getSymbol(), 200 );