public class SmartDerivativeContractScheduleGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SmartDerivativeContractScheduleGenerator.EventTimesImpl
Simple POJO implementation of
SmartDerivativeContractSchedule.EventTimes. |
static class |
SmartDerivativeContractScheduleGenerator.SimpleSchedule
Simple list based implementation of
SmartDerivativeContractSchedule. |
| Constructor and Description |
|---|
SmartDerivativeContractScheduleGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static SmartDerivativeContractSchedule |
getScheduleForBusinessDays(String calendar,
LocalDate startDate,
LocalDate maturity,
LocalTime settlementTime,
Duration accountAccessAllowedDuration)
Create a daily event schedule, where
accountAccessStart is one minute after settlementTime,
accountAccessEnd is accountAccessAllowedDuration after accountAccessStart,
marginCheckTime is one minute after accountAccessEnd.
|
static SmartDerivativeContractSchedule |
getScheduleForBusinessDays(String calendar,
LocalDate startDate,
LocalDate maturity,
LocalTime settlementTime,
LocalTime accountAccessAllowedStartTime,
Duration accountAccessAllowedDuration,
LocalTime marginCheckTime) |
public SmartDerivativeContractScheduleGenerator()
public static SmartDerivativeContractSchedule getScheduleForBusinessDays(String calendar, LocalDate startDate, LocalDate maturity, LocalTime settlementTime, Duration accountAccessAllowedDuration)
calendar - startDate - maturity - settlementTime - accountAccessAllowedDuration - Copyright © 2019. All rights reserved.