getMostRecentTrade()

ICE Data Services -

getMostRecentTrade()
Previous  Top  Next


getMostRecentTrade()

Returns the most recent trade price. Note that this function can only be used in realtime. It will NOT return historical values.

Parameters

none
function takes no parameters


Usage

function main() {

   ...
   ...
   
//retrieve the value of the most recent trade
   myVar = getMostRecentTrade();


}