Services

 

Related Topics

 

 

Several information services are provided by Aspen for use by client software. A complete understanding of what these services provide, when they should be used, and how they interrelate is essential to design an application that can use the Aspen API effectively.

 

Services are invoked by use of the AspenRequest() function (described on page 48). A service may require a set of input information, a set of output information, both, or neither. The input and output information is typically conveyed by the use of pointers to data structures.

 

Each heading in this section is a parameter for the second argument of AspenRequest(). Each ‘call syntax’ heading gives (in bolded type) the actual identifier for the service being described. With the exception of ASPEN_OpenSession service, all services operate in the context of a specific open session.

 

The open session in the examples that follow is identified by the first, or session, parameter passed to AspenRequest(). For the sake of clarity, the open session is identified by the GLOBAL_Session variable in the examples of each service.

 

The following service requests are currently supported by the Aspen API:

 

ASPEN_WatchDepthOfMarket

ASPEN_ApplyBar

ASPEN_ApplyBars

ASPEN_CloseSession

ASPEN_CreateInstrument

ASPEN_DeleteSymbol

ASPEN_GetBarHistory

ASPEN_GetContractForUpdate

ASPEN_GetCurrencyInfo

ASPEN_GetExchangeInfo

ASPEN_GetFFPage

ASPEN_GetHolidayInfo

ASPEN_GetInstrumentInfo

ASPEN_GetInstrumentNumber

ASPEN_GetNewsStory

ASPEN_GetNewsStoryInfo

ASPEN_GetNextContract

ASPEN_GetNumberedStory

ASPEN_GetOptionInfo

ASPEN_GetServerInfo

ASPEN_GetServerTime

ASPEN_GetServerVersion

ASPEN_GetStoryInfo

ASPEN_GetStoryInfoBatch

ASPEN_GetTickHistory

ASPEN_GetTimeZoneTables

ASPEN_InvalidateSession

ASPEN_MapPseudo2Real

ASPEN_OpenSession

ASPEN_PutTick

ASPEN_QFindInstrumentNumber

ASPEN_QMacros

ASPEN_RelFFPage

ASPEN_ReplaceTicks

ASPEN_SetNewsWatch

ASPEN_StopInstrumentUpdates

ASPEN_UpdateContract

ASPEN_ValidateSession

 

©2006 Aspen Research Group, Ltd. All rights reserved. Terms of Use.