minute()

ICE Data Services -

minute() Series Functions


The minute() function is used to create a Series Object of the minute values or to retrieve individual minute values.

 

Syntax

minute( [ nBarIndex ][, sym() | inv() ] )


Parameters
Parameter: Description: Default:
nBarIndex [Optional]   Number of bar index of series to retrieve n/a
sym() or inv() [Optional]  Function of sym() or inv() to determine source for minute values. n/a


Return Value(s)

Returns a Series Object when  nBarIndex is not specified.

Returns a single value when nBarIndex is specified.

 

Notes

N/A

Code Examples

function main() {

//retrieve the value for the current price bar
myVar =
minute(0);
//retrieve the value for the previous price bar
myVar =
minute(-1);
//retrieve the current value for a specific symbol
myVar =
minute(0sym("IBM") );
//retrieve the current value for a specific symbol/interval
myVar =
minute(0sym("IBM,5") );
//retrieve the current value for a specific bar interval
myVar =
minute(0inv(15) );
//create a Series Object of the minute values.
xMinute =
minute();
//create a Series Object of the minute values for a specific symbol.
xMinute =
minute( sym("IBM") );
//create a Series Object of the minute values for a specific symbol/interval.
xMinute =
minute( sym("IBM,5") );
//create a Series Object of the minute values for a specific interval.
xMinute =
minute( inv(15) );

}


See Also

Series Functions
eSignal Bulletin Board Search Engine
Help Guides and Tutorials