Package org.jquantlib.time.calendars

Examples of org.jquantlib.time.calendars.Target$Impl


    public JpyLiborSwapIsdaFixAm(final Period tenor, final Handle<YieldTermStructure> h) {
        super( "JpyLiborSwapIsdaFixAm",
                tenor,
                2, // settlement days
                new JPYCurrency(),
                new Target(),
                new Period(6,TimeUnit.Months),
                BusinessDayConvention.ModifiedFollowing,
                new ActualActual(ActualActual.Convention.ISDA),
                new JPYLibor(new Period(6,TimeUnit.Months), h)
                   
View Full Code Here


        super("EURLibor",
                tenor,
                2, // settlement days
                new EURCurrency(),
                new JointCalendar(new UnitedKingdom(Market.Exchange),
                          new Target(),
                          JointCalendarRule.JoinBusinessDays),
                eurliborConvention(tenor),
                eurliborEOM(tenor),
                new Actual360(),
                h);
        QL.require(tenor().units() != TimeUnit.Days , "for daily tenors dedicated DailyTenor constructor must be used");
       
        this.target = new Target();
    }
View Full Code Here

    public EurLiborSwapIfrFix(final Period tenor, final Handle<YieldTermStructure> h) {
        super( "EurLiborSwapIfrFix",
                tenor,
                2, // settlement days
                new EURCurrency(),
                new Target(),
                new Period(1,TimeUnit.Years),
                BusinessDayConvention.ModifiedFollowing,
                new Thirty360(Thirty360.Convention.BondBasis),
                tenor.gt(new Period(1,TimeUnit.Years)) ? new EURLibor(new Period(6,TimeUnit.Months), h):
                                      new EURLibor(new Period(3,TimeUnit.Months), h)
View Full Code Here

    public void compute(final int nTimeSteps, final int nSamples) {

        if (System.getProperty("EXPERIMENTAL") == null)
            throw new UnsupportedOperationException("Work in progress");

        final Calendar calendar = new Target();
        final Date today = Date.todaysDate();
        final DayCounter dayCount = new Actual365Fixed();
        final Handle<Quote> stateVariable = new Handle(new SimpleQuote(s0_.doubleValue()));
        final Handle<YieldTermStructure> riskFreeRate = new Handle(new FlatForward(today, r_.doubleValue(), dayCount));
View Full Code Here

     * @param referenceDate
     * @param dc
     * @see YieldTermStructure#YieldTermStructure(Date, Calendar, DayCounter)
     */
    protected AbstractYieldTermStructure(final Date referenceDate, final DayCounter dc) {
        super(referenceDate, new Target(), dc);
    }
View Full Code Here

     *
     * @param referenceDate
     * @see YieldTermStructure#YieldTermStructure(Date, Calendar, DayCounter)
     */
    protected AbstractYieldTermStructure(final Date referenceDate) {
        super(referenceDate, new Target(), new Actual365Fixed());
    }
View Full Code Here

     * @param settlementDays
     * @param dc
     * @see YieldTermStructure#YieldTermStructure(int, Calendar, DayCounter)
     */
    protected AbstractYieldTermStructure(final int settlementDays, final DayCounter dc) {
        super(settlementDays, new Target(), dc);
    }
View Full Code Here

     *
     * @param settlementDays
     * @see YieldTermStructure#YieldTermStructure(int, Calendar, DayCounter)
     */
    protected AbstractYieldTermStructure(final int settlementDays) {
        super(settlementDays, new Target(), new Actual365Fixed());
    }
View Full Code Here

    public EuriborSwapIsdaFixB(final Period tenor, final Handle<YieldTermStructure> h) {
        super( "EuriborSwapIsdaFixB",
                tenor,
                2, // settlement days
                new EURCurrency(),
                new Target(),
                new Period(1,TimeUnit.Years),
                BusinessDayConvention.ModifiedFollowing,
                new Thirty360(Thirty360.Convention.BondBasis),
                tenor.gt(new Period(1,TimeUnit.Years)) ? new Euribor(new Period(6,TimeUnit.Months), h):
                                      new Euribor(new Period(3,TimeUnit.Months), h)
View Full Code Here

   
    public Euribor365(final Period tenor, final Handle<YieldTermStructure> h) {
        super("Euribor365", tenor,
                2, // settlement days
                new EURCurrency(),
                new Target(),
                euriborConvention(tenor),
                euriborEOM(tenor),
                new Actual365Fixed(),
                h);
        QL.require(this.tenor().units() != TimeUnit.Days , "for daily tenors dedicated DailyTenor constructor must be used"); // TODO: message
View Full Code Here

TOP

Related Classes of org.jquantlib.time.calendars.Target$Impl

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.