Package com.quantcomponents.tradingcalendars.TradingCalendarFactoryBean

Examples of com.quantcomponents.tradingcalendars.TradingCalendarFactoryBean.SpecificTradingDay


    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));
    bean.setSpecialTradingDays(specialTradingDays);
    bean.setIncludeAfterHours(true);
    bean.setExchanges(new String[] { "GLOBEX", "CBOT" } );
   
    JAXBContext context = JAXBContext.newInstance(TradingCalendarFactoryBean.class, WeekTradingDay.class, SpecificTradingDay.class);
View Full Code Here

TOP

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

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.