Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Default simulator to use in experiments.

    The PriceSimulator class always just subclasses an existing
    simulator that should be used as the default. This makes it
    easy to have scripts/simulations/experiments always use the
    PriceSimulator.

    The following shows example usage:

>>> import datetime, random, math(more...)

src/p/y/pyvol-1.0/pyvol/sims/Evaluator.py   pyvol(Download)
 
    logging.info('Producing simulation (seed = %s)' % (seed))
    simulator = DataSimulator.PriceSimulator()
    returnColName = simulator.levelParams.retNames[-1]    
    estimator.SetReturnColName(returnColName)