static public property instance.ask

Brief

The ask prices of the associated instrument.

Declaration
Lua
instance.ask

Details

The property returns an instance tick_stream table representing the history of ask prices (the latest prices is the current offer) of the instrument on which the strategy or signal is applied.

The ask price is the market price the instrument can be bought at.

Example [hide]

 
   function Update()
       ...
       local currAsk = instance.ask[instance.ask:size() - 1];
       ...
   end

back