class_docstr: Prices options using TFF.
class_docstr_tok: ["Prices","options","using","TFF","."]
docstr: Prices options.
docstr_tok: ["Prices","options","."]
code: def price(
      self,
      spot_mkt,
      vol_mkt,
      rate_mkt,
      underliers,
      strikes,
      call_put_flag,
      expiry_ordinals,
  ):
      """Prices options."""
      prices = self._pricer(
          spot_mkt,
          vol_mkt,
          rate_mkt,
          underliers,
          strikes,
          call_put_flag,
          expiry_ordinals,
      )
      return prices
  
file_path: tf-quant-finance/tf_quant_finance/examples/demos/option_pricing_basic/pricer/app/pricers.py
imports: import datetime
  import time
  import numpy
  import tensorflow
  import tf_quant_finance
label_desc: Use image node_id 2 for calling the TffOptionPricer obj's underlying member method code with example usage: obj.price(spot_mkt, vol_mkt, rate_mkt, underliers, strikes, call_put_flag, expiry_ordinals) and returns: prices