Current-market reference formulas

Choose Bid, Ask, Last, RecentPrice, or Quotes according to the trading logic.

Market-reference formulas are not interchangeable. A bid-based calculation can differ from a last-trade calculation, especially in a wide or inactive market.

Examples

  • Bid: current best bid
  • Ask: current best ask
  • Last: most recent traded price
  • RecentPrice: latest quoted price source for a symbol
  • Quotes: compound quote information including bid, ask, last, sizes, and total volume

See also: Formula Editor & XapiScript complete reference.

Was this article helpful?

Get Started Now!

Try out our technology for free or open an account and start trading.

There is a substantial risk of loss in trading futures and options.