def get(self, opttype, strike, expiry):
_optrow = _relevant_rows(self.data, (strike, expiry, opttype,),<EOL>"<STR_LIT>".format(expiry, strike, opttype))<EOL>return _getprice(_optrow)<EOL>
Price as midpoint between bid and ask.

Parameters
----------
opttype : str
    'call' or 'put'.
strike : numeric
    Strike price.
expiry : date-like
    Expiration date. Can be a :class:`datetime.datetime` or
    a string that :mod:`pandas` can interpret as such, e.g.
    '2015-01-01'.

Returns
-------
out : float

Examples
--------
>>> geopts = pn.opt.get('ge')
>>> geopts.price.get('call', 26., '2015-09-18')
0.94