static public property instance.bid

Brief

The bid prices of the associated instrument.

Declaration
Lua
instance.bid

Details

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

The bid price is the market price the instrument can be sold at.

Example [hide]

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

back