jason-ash / pyesg

Economic scenario generator for python: simulate stocks, interest rates, and other stochastic processes.
MIT License
128 stars 33 forks source link

Base class for DiffusionProcess #7

Closed jason-ash closed 5 years ago

jason-ash commented 5 years ago

Most stochastic models will probably fall under a base class we could call DiffusionProcess. Would provide shared functionality for any stochastic model, such as Vasicek, CIR, Hull-White, etc.

class DiffusionProcess:
    """Base class for stochastic simulation models"""

Open question: will there need to be a distinction between models that have a defined transition density vs. ones that don't?

jason-ash commented 5 years ago

Closed by #11