ASPEN_EXCHANGE

 

Related Items

 

 

Purpose

Identifies the exchange on which an instrument trades.

 

 

Structure

typedef struct

{

   unsigned short exchange;

   ASPEN_SESSION_TIME tradingSession[ASPEN_MAX_TRADING_SESSIONS];

   char *name[ASPEN_MAX_XCHG_LENGTH];

   char *desc[ASPEN_MAX_XCHG_DESCRIPTION];

}ASPEN_EXCHANGE;

 

 

Fields

exchange

exchange is the Aspen exchange identifier, a unique number assigned to the exchange by the feed parser.

 

The "exchange number" for each exchange on a particular feed is located in the <feed>xchg.txt file on the Aspen Server (see Apex Files). Exchange numbers vary from feed to feed.

 

The exchange number is available in an ASPEN_INSTRUMENT structure's exchange field after calling AspenRequest() with ASPEN_GetExchangeInfo.

 

tradingSession

tradingSession is array of ASPEN_SESSION_TIME structures containing the open_time, close_time, and time_zone associated with each exchange. See ASPEN_INSTRUMENT for more information.

 

*name

name contains a null-terminated ASCIIZ string that is the exchange abbreviation. Such abbreviations are commonly acronyms, like NYSE or NYS (New York Stock Exchange), or CBOT or CBT (Chicago Board of Trade). Exchange abbreviations vary from feed to feed. Consult your Server’s <feed>xchg.txt file for the exchange abbreviations in effect (see Apex Files).

 

*descs

descs contains a null-terminated ASCIIZ string that is a textual description of the exchange’s proper, non-abbreviated name (New York Stock Exchange instead of NYSE). Exchange descriptions vary from feed to feed. Consult your Server's <feed>xchg.txt file for the exchange descriptions in effect.

 

 

See Also

ASPEN_SESSION_TIME

ASPEN_GetExchangeInfo

ASPEN_SESSION_TIME

ASPEN_INSTRUMENT

 

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