Package org.jquantlib.model.volatility

Examples of org.jquantlib.model.volatility.SimpleLocalEstimator


        }
    }

    @Test
    public void testSECalculate() {
        final SimpleLocalEstimator sle = new SimpleLocalEstimator(1/360.0);
        final TimeSeries<Double> locale = sle.calculate(ts);
        assertNotNull(locale) ;
    }
View Full Code Here


        assertNotNull(locale) ;
    }

    @Test
    public void testCECalculate() {
        final SimpleLocalEstimator       sle = new SimpleLocalEstimator(1/360.0);
        final TimeSeries<Double>      locale = sle.calculate(ts);
        final VolatilityCompositor        ce = new ConstantEstimator(1);
        final TimeSeries<Double>       value = ce.calculate(locale);
        assertNotNull(value) ;
    }
View Full Code Here

        }
    }

    @Test
    public void testSECalculate() {
        final SimpleLocalEstimator sle = new SimpleLocalEstimator(1/360.0);
        final TimeSeries<Double> locale = sle.calculate(ts);
        assertNotNull(locale) ;
    }
View Full Code Here

        assertNotNull(locale) ;
    }

    @Test
    public void testCECalculate() {
        final SimpleLocalEstimator       sle = new SimpleLocalEstimator(1/360.0);
        final TimeSeries<Double>      locale = sle.calculate(ts);
        final VolatilityCompositor        ce = new ConstantEstimator(1);
        final TimeSeries<Double>       value = ce.calculate(locale);
        assertNotNull(value) ;
    }
View Full Code Here

TOP

Related Classes of org.jquantlib.model.volatility.SimpleLocalEstimator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.