quantdata.utils#

Basic shared Utilities#

class quantdata.utils.Eps(prices=1e-06, theta=1e-06, gamma=1e-06, densities=1e-06, dlvsq=1e-06)[source]#

Bases: object

Detailed error tolerance for debugging.

prices: float = 1e-06#

Tolerance for option price errors.

theta: float = 1e-06#

Tolerance for theta errors during DLV computation.

gamma: float = 1e-06#

Tolerance for gamma errors during DLV computation.

densities: float = 1e-06#

Tolerance for density errors.

dlvsq: float = 1e-06#

Tolerance for DLV squared errors being positive.

set_all(eps)[source]#
static create(eps)[source]#

Create an Eps object with all tolerances set to the same value.

Modules#