Package com.quantcomponents.tradingcalendars.TradingCalendarFactoryBean

Examples of com.quantcomponents.tradingcalendars.TradingCalendarFactoryBean.WeekTradingDay


    tpBeanAfternoon.setEndMinute(30);
    TradingDayBean tdBean1 = new TradingDayBean();
    tdBean1.setTradingPeriods(new TradingPeriodBean[] { tpBeanUnique });
    TradingDayBean tdBean2 = new TradingDayBean();
    tdBean2.setTradingPeriods(new TradingPeriodBean[] { tpBeanMorning, tpBeanAfternoon });
    weekTradingDays.add(new WeekTradingDay(Calendar.MONDAY, tdBean1));
    weekTradingDays.add(new WeekTradingDay(Calendar.TUESDAY, tdBean1));
    weekTradingDays.add(new WeekTradingDay(Calendar.WEDNESDAY, tdBean2));
    weekTradingDays.add(new WeekTradingDay(Calendar.THURSDAY, tdBean1));
    weekTradingDays.add(new WeekTradingDay(Calendar.FRIDAY, tdBean1));
    bean.setWeekTradingDays(weekTradingDays);
    Set<SpecificTradingDay> specialTradingDays = new HashSet<SpecificTradingDay>();
    TradingDayBean stdBean1 = new TradingDayBean();
    stdBean1.setTradingPeriods(new TradingPeriodBean[] { tpBeanMorning });
    specialTradingDays.add(new SpecificTradingDay("20121224", stdBean1));
View Full Code Here

TOP

Related Classes of com.quantcomponents.tradingcalendars.TradingCalendarFactoryBean.WeekTradingDay

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.