dxFeed Graal Native SDK 3.16.0
Loading...
Searching...
No Matches
dxfg_schedule.h File Reference

dxFeed Graal Native SDK Schedule functions and types declarations More...

#include <stdint.h>
#include "dxfg_common.h"
#include "graal_isolate.h"
#include "dxfg_ipf.h"

Go to the source code of this file.

Data Structures

struct  dxfg_schedule_t
 A handle of a Java Schedule object; release it with dxfg_JavaObjectHandler_release(). More...
struct  dxfg_session_t
 A handle of a Java Session object; release it with dxfg_Session_release(). More...
struct  dxfg_session_list
struct  dxfg_day_t
 A handle of a Java Day object; release it with dxfg_Day_release(). More...
struct  dxfg_session_filter_t
 A handle of a Java SessionFilter object; release it with dxfg_JavaObjectHandler_release(). More...
struct  dxfg_day_filter_t
 A handle of a Java DayFilter object; release it with dxfg_JavaObjectHandler_release(). More...

Typedefs

typedef struct dxfg_schedule_t dxfg_schedule_t
 A handle of a Java Schedule object; release it with dxfg_JavaObjectHandler_release().
typedef enum dxfg_session_type_t dxfg_session_type_t
typedef struct dxfg_session_t dxfg_session_t
 A handle of a Java Session object; release it with dxfg_Session_release().
typedef struct dxfg_session_list dxfg_session_list
typedef struct dxfg_day_t dxfg_day_t
 A handle of a Java Day object; release it with dxfg_Day_release().
typedef int32_t(*) dxfg_session_filter_function(graal_isolatethread_t *thread, dxfg_session_t *session)
typedef struct dxfg_session_filter_t dxfg_session_filter_t
 A handle of a Java SessionFilter object; release it with dxfg_JavaObjectHandler_release().
typedef enum dxfg_session_filter_prepare_t dxfg_session_filter_prepare_t
typedef int32_t(*) dxfg_day_filter_function(graal_isolatethread_t *thread, dxfg_day_t *day)
typedef struct dxfg_day_filter_t dxfg_day_filter_t
 A handle of a Java DayFilter object; release it with dxfg_JavaObjectHandler_release().
typedef enum dxfg_day_filter_prepare_t dxfg_day_filter_prepare_t

Enumerations

enum  dxfg_session_type_t { DXFG_SESSION_TYPE_NO_TRADING = 0 , DXFG_SESSION_TYPE_PRE_MARKET , DXFG_SESSION_TYPE_REGULAR , DXFG_SESSION_TYPE_AFTER_MARKET }
enum  dxfg_session_filter_prepare_t {
  DXFG_SESSION_FILTER_ANY = 0 , DXFG_SESSION_FILTER_TRADING , DXFG_SESSION_FILTER_NON_TRADING , DXFG_SESSION_FILTER_NO_TRADING ,
  DXFG_SESSION_FILTER_PRE_MARKET , DXFG_SESSION_FILTER_REGULAR , DXFG_SESSION_FILTER_AFTER_MARKET
}
enum  dxfg_day_filter_prepare_t {
  DXFG_DAY_FILTER_ANY = 0 , DXFG_DAY_FILTER_TRADING , DXFG_DAY_FILTER_NON_TRADING , DXFG_DAY_FILTER_HOLIDAY ,
  DXFG_DAY_FILTER_SHORT_DAY , DXFG_DAY_FILTER_MONDAY , DXFG_DAY_FILTER_TUESDAY , DXFG_DAY_FILTER_WEDNESDAY ,
  DXFG_DAY_FILTER_THURSDAY , DXFG_DAY_FILTER_FRIDAY , DXFG_DAY_FILTER_SATURDAY , DXFG_DAY_FILTER_SUNDAY ,
  DXFG_DAY_FILTER_WEEK_DAY , DXFG_DAY_FILTER_WEEK_END
}

Functions

dxfg_session_filter_t * dxfg_SessionFilter_new (graal_isolatethread_t *thread, dxfg_session_filter_function filter)
dxfg_session_filter_t * dxfg_SessionFilter_getInstance (graal_isolatethread_t *thread, dxfg_session_filter_prepare_t filter)
dxfg_day_filter_t * dxfg_DayFilter_new (graal_isolatethread_t *thread, dxfg_day_filter_function filter)
dxfg_day_filter_t * dxfg_DayFilter_getInstance (graal_isolatethread_t *thread, dxfg_day_filter_prepare_t filter)
dxfg_schedule_t * dxfg_Schedule_getInstance (graal_isolatethread_t *thread, dxfg_instrument_profile_t *instrumentProfile)
dxfg_schedule_t * dxfg_Schedule_getInstance2 (graal_isolatethread_t *thread, const char *scheduleDefinition)
dxfg_schedule_t * dxfg_Schedule_getInstance3 (graal_isolatethread_t *thread, dxfg_instrument_profile_t *instrumentProfile, const char *venue)
dxfg_string_list * dxfg_Schedule_getTradingVenues (graal_isolatethread_t *thread, dxfg_instrument_profile_t *instrumentProfile)
int32_t dxfg_Schedule_downloadDefaults (graal_isolatethread_t *thread, const char *downloadConfig)
int32_t dxfg_Schedule_setDefaults (graal_isolatethread_t *thread, const char *data, int32_t size)
dxfg_session_t * dxfg_Schedule_getSessionByTime (graal_isolatethread_t *thread, dxfg_schedule_t *schedule, int64_t time)
dxfg_day_t * dxfg_Schedule_getDayByTime (graal_isolatethread_t *thread, dxfg_schedule_t *schedule, int64_t time)
dxfg_day_t * dxfg_Schedule_getDayById (graal_isolatethread_t *thread, dxfg_schedule_t *schedule, int32_t dayId)
dxfg_day_t * dxfg_Schedule_getDayByYearMonthDay (graal_isolatethread_t *thread, dxfg_schedule_t *schedule, int32_t yearMonthDay)
dxfg_session_t * dxfg_Schedule_getNearestSessionByTime (graal_isolatethread_t *thread, dxfg_schedule_t *schedule, int64_t time, dxfg_session_filter_t *filter)
dxfg_session_t * dxfg_Schedule_findNearestSessionByTime (graal_isolatethread_t *thread, dxfg_schedule_t *schedule, int64_t time, dxfg_session_filter_t *filter)
const char * dxfg_Schedule_getName (graal_isolatethread_t *thread, dxfg_schedule_t *schedule)
const char * dxfg_Schedule_getTimeZone (graal_isolatethread_t *thread, dxfg_schedule_t *schedule)
const char * dxfg_Schedule_getTimeZone_getID (graal_isolatethread_t *thread, dxfg_schedule_t *schedule)
int32_t dxfg_Schedule_getDefinition (graal_isolatethread_t *thread, dxfg_schedule_t *schedule, DXFG_OUT char **definition)
dxfg_day_t * dxfg_Session_getDay (graal_isolatethread_t *thread, dxfg_session_t *session)
int32_t dxfg_Session_getType (graal_isolatethread_t *thread, dxfg_session_t *session)
int32_t dxfg_Session_isTrading (graal_isolatethread_t *thread, dxfg_session_t *session)
int32_t dxfg_Session_isEmpty (graal_isolatethread_t *thread, dxfg_session_t *session)
int64_t dxfg_Session_getStartTime (graal_isolatethread_t *thread, dxfg_session_t *session)
int64_t dxfg_Session_getEndTime (graal_isolatethread_t *thread, dxfg_session_t *session)
int32_t dxfg_Session_containsTime (graal_isolatethread_t *thread, dxfg_session_t *session, int64_t time)
dxfg_session_t * dxfg_Session_getPrevSession (graal_isolatethread_t *thread, dxfg_session_t *session, dxfg_session_filter_t *filter)
dxfg_session_t * dxfg_Session_getNextSession (graal_isolatethread_t *thread, dxfg_session_t *session, dxfg_session_filter_t *filter)
dxfg_session_t * dxfg_Session_findPrevSession (graal_isolatethread_t *thread, dxfg_session_t *session, dxfg_session_filter_t *filter)
dxfg_session_t * dxfg_Session_findNextSession (graal_isolatethread_t *thread, dxfg_session_t *session, dxfg_session_filter_t *filter)
int32_t dxfg_Session_hashCode (graal_isolatethread_t *thread, dxfg_session_t *session)
int32_t dxfg_Session_equals (graal_isolatethread_t *thread, dxfg_session_t *session, dxfg_session_t *otherSession)
const char * dxfg_Session_toString (graal_isolatethread_t *thread, dxfg_session_t *session)
dxfg_schedule_t * dxfg_Day_getSchedule (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Day_getDayId (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Day_getYearMonthDay (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Day_getYear (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Day_getMonthOfYear (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Day_getDayOfMonth (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Day_getDayOfWeek (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Day_isHoliday (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Day_isShortDay (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Day_isTrading (graal_isolatethread_t *thread, dxfg_day_t *day)
int64_t dxfg_Day_getStartTime (graal_isolatethread_t *thread, dxfg_day_t *day)
int64_t dxfg_Day_getEndTime (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Day_containsTime (graal_isolatethread_t *thread, dxfg_day_t *day, int64_t time)
int64_t dxfg_Day_getResetTime (graal_isolatethread_t *thread, dxfg_day_t *day)
dxfg_session_list * dxfg_Day_getSessions (graal_isolatethread_t *thread, dxfg_day_t *day)
dxfg_session_t * dxfg_Day_getSessionByTime (graal_isolatethread_t *thread, dxfg_day_t *day, int64_t time)
dxfg_session_t * dxfg_Day_getFirstSession (graal_isolatethread_t *thread, dxfg_day_t *day, dxfg_session_filter_t *filter)
dxfg_session_t * dxfg_Day_getLastSession (graal_isolatethread_t *thread, dxfg_day_t *day, dxfg_session_filter_t *filter)
dxfg_session_t * dxfg_Day_findFirstSession (graal_isolatethread_t *thread, dxfg_day_t *day, dxfg_session_filter_t *filter)
dxfg_session_t * dxfg_Day_findLastSession (graal_isolatethread_t *thread, dxfg_day_t *day, dxfg_session_filter_t *filter)
dxfg_day_t * dxfg_Day_getPrevDay (graal_isolatethread_t *thread, dxfg_day_t *day, dxfg_day_filter_t *filter)
dxfg_day_t * dxfg_Day_getNextDay (graal_isolatethread_t *thread, dxfg_day_t *day, dxfg_day_filter_t *filter)
dxfg_day_t * dxfg_Day_findPrevDay (graal_isolatethread_t *thread, dxfg_day_t *day, dxfg_day_filter_t *filter)
dxfg_day_t * dxfg_Day_findNextDay (graal_isolatethread_t *thread, dxfg_day_t *day, dxfg_day_filter_t *filter)
int32_t dxfg_Day_hashCode (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Day_equals (graal_isolatethread_t *thread, dxfg_day_t *day, dxfg_day_t *otherDay)
const char * dxfg_Day_toString (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Day_release (graal_isolatethread_t *thread, dxfg_day_t *day)
int32_t dxfg_Session_release (graal_isolatethread_t *thread, dxfg_session_t *session)
int32_t dxfg_SessionList_wrapper_release (graal_isolatethread_t *thread, dxfg_session_list *sessions)
int32_t dxfg_Schedule_getInstance4 (graal_isolatethread_t *thread, dxfg_instrument_profile2_t *instrumentProfile, DXFG_OUT dxfg_schedule_t **schedule)
int32_t dxfg_Schedule_getInstance5 (graal_isolatethread_t *thread, dxfg_instrument_profile2_t *instrumentProfile, const char *venue, DXFG_OUT dxfg_schedule_t **schedule)
int32_t dxfg_Schedule_getTradingVenues2 (graal_isolatethread_t *thread, dxfg_instrument_profile2_t *instrumentProfile, DXFG_OUT dxfg_string_list **venues)

Detailed Description

dxFeed Graal Native SDK Schedule functions and types declarations