Generic Broker: buy()

ICE Data Services -

buy()
Previous  Top  Next


buy( symbol )

Submit a market order to broker using the pre-set default number of shares/contracts.

Parameters

symbol
the symbol for which to initiate the trade


Usage

buy( "IDC" );
buy( getSymbol() );