getSecond()

ICE Data Services -

getSecond()

 

getSecond([nRelativeOffset] [, nNumBars [, Symbol ] ])

 

  • nRelativeOffset: Offset to bar. 0 is most recent bar, -1 is next bar, etc.
  • nNumBars:  Number of bars to retrieve (a negative number)
  • Symbol:  The symbol to retrieve data for.

 

Examples:

 

getSecond(-1);    gets the next-to-last second value for the current symbol

getSecond(0, "ES #F");  gets the most recent second value for ES

getSecond(0, -10, "ES #F"); gets the last 10 second values for ES and places them in an array

 

This is a shortcut to getValue, requesting the second value. See getValue for more information.

 

close()

high()

low()

open()

getMonth()

getDay()

getHour()

getMinute()

getValueAbsolute()