public class PythonCalendarServiceStub extends PythonCalendarService
Constructor and Description |
---|
PythonCalendarServiceStub() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCloseTime(long exchangeId)
Gets the time the exchange closes on the current date or Optional.EMPTY if the exchange is closed on the current date
|
java.lang.Long |
getCloseTime(long exchangeId,
long dateMillis)
Gets the time the exchange closes on a particular date or Optional.EMPTY if the exchange is closed on that day
|
java.lang.Long |
getCurrentTradingDate(long exchangeId)
Gets the current trading date of the specified exchange.
|
java.lang.Long |
getCurrentTradingDate(long exchangeId,
long dateMillis)
Gets the current trading date of the specified exchange.
|
java.lang.Long |
getNextCloseTime(long exchangeId)
Gets the time the exchange closes the next time after the current dateTime
|
java.lang.Long |
getNextCloseTime(long exchangeId,
long dateMillis)
Gets the time the exchange closes the next time after the specified dateTime
|
java.lang.Long |
getNextOpenTime(long exchangeId)
Gets the time the exchange opens the next time after the current dateTime
|
java.lang.Long |
getNextOpenTime(long exchangeId,
long dateMillis)
Gets the time the exchange opens the next time after the specified dateTime
|
java.lang.Long |
getOpenTime(long exchangeId)
Gets the time the exchange opens on the current date or Optional.EMPTY if the exchange is closed on the current date
|
java.lang.Long |
getOpenTime(long exchangeId,
long dateMillis)
Gets the time the exchange opens on a particular date or Optional.EMPTY if the exchange is closed on that day
|
boolean |
isOpen(long exchangeId)
Returns true, if the exchange is open at the current dateTime, taking into consideration the different
trading hours as well as holidays, early opens and early closes
|
boolean |
isOpen(long exchangeId,
long dateMillis)
Returns true, if the exchange is currently open at the specified dateTime, taking into consideration the different
trading hours as well as holidays, early opens and early closes
|
boolean |
isTradingDay(long exchangeId)
Returns true if the exchange is open on the current date
|
boolean |
isTradingDay(long exchangeId,
long dateMillis)
Returns true if the exchange is open on the specified date
|
returnMillis, returnMillis2
public java.lang.Long getCurrentTradingDate(long exchangeId, long dateMillis)
PythonCalendarService
getCurrentTradingDate
in class PythonCalendarService
public java.lang.Long getCurrentTradingDate(long exchangeId)
PythonCalendarService
getCurrentTradingDate
in class PythonCalendarService
public boolean isOpen(long exchangeId, long dateMillis)
PythonCalendarService
isOpen
in class PythonCalendarService
public boolean isOpen(long exchangeId)
PythonCalendarService
isOpen
in class PythonCalendarService
public boolean isTradingDay(long exchangeId, long dateMillis)
PythonCalendarService
isTradingDay
in class PythonCalendarService
public boolean isTradingDay(long exchangeId)
PythonCalendarService
isTradingDay
in class PythonCalendarService
public java.lang.Long getOpenTime(long exchangeId, long dateMillis)
PythonCalendarService
getOpenTime
in class PythonCalendarService
public java.lang.Long getOpenTime(long exchangeId)
PythonCalendarService
getOpenTime
in class PythonCalendarService
public java.lang.Long getCloseTime(long exchangeId, long dateMillis)
PythonCalendarService
getCloseTime
in class PythonCalendarService
public java.lang.Long getCloseTime(long exchangeId)
PythonCalendarService
getCloseTime
in class PythonCalendarService
public java.lang.Long getNextOpenTime(long exchangeId, long dateMillis)
PythonCalendarService
getNextOpenTime
in class PythonCalendarService
public java.lang.Long getNextOpenTime(long exchangeId)
PythonCalendarService
getNextOpenTime
in class PythonCalendarService
public java.lang.Long getNextCloseTime(long exchangeId, long dateMillis)
PythonCalendarService
getNextCloseTime
in class PythonCalendarService
public java.lang.Long getNextCloseTime(long exchangeId)
PythonCalendarService
getNextCloseTime
in class PythonCalendarService