GetCurrentBid()
GetCurrentBid()
Definition
Returns the current real-time bid price.
Notes:
- When accessed during State.Historical, the Close price of the evaluated bar is substituted. To access historical bid prices, please see Developing for Tick Replay.
- The GetCurrentBid() method runs on the bar series currently updating determined by the BarsInProgress property. For multi-instrument scripts, an additional int “barsSeriesIndex” parameter can be supplied which forces the method to run on an supplementary bar series.
Method Return Value
A double value representing the current bid price.
Syntax
GetCurrentBid()
GetCurrentBid(int barsSeriesIndex)

