OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
Security Class Reference

Public Member Functions

SecurityId id () const
StrRef symbol () const
void symbol (const StrRef &symbol)
StrRef group () const
void group (const StrRef &group)
StrRef asset () const
void asset (const StrRef &asset)
UInt32 seqNumber () const

Protected Member Functions

 Security (SecurityId id)
 ~Security ()
void seqNumber (UInt32 seqNumber)

Detailed Description

Definition at line 29 of file Security.h.

Constructor & Destructor Documentation

◆ Security()

Security ( SecurityId id)
inlineprotected

Initializes instance.

Definition at line 48 of file Security.h.

◆ ~Security()

~Security ( )
inlineprotected

Cleans everything up.

Definition at line 56 of file Security.h.

Member Function Documentation

◆ asset() [1/2]

StrRef asset ( ) const
inline

String field that indicates the underlying asset code (Product Code).

Definition at line 115 of file Security.h.

◆ asset() [2/2]

void asset ( const StrRef & asset)
inline

Updates asset code.

Definition at line 121 of file Security.h.

◆ group() [1/2]

StrRef group ( ) const
inline

Security group code.

An exchange specific code assigned to a group of related securities, which are concurrently affected by market events.

Definition at line 99 of file Security.h.

◆ group() [2/2]

void group ( const StrRef & group)
inline

Assigns security group code.

Definition at line 105 of file Security.h.

◆ id()

SecurityId id ( ) const
inline

Unique security identifier.

Security ID value will not be reused until the next trade date following an security expiration or deletion.

Definition at line 74 of file Security.h.

◆ seqNumber() [1/2]

UInt32 seqNumber ( ) const
inline

Security-level sequence number.

Definition at line 130 of file Security.h.

◆ seqNumber() [2/2]

void seqNumber ( UInt32 seqNumber)
inlineprotected

Updates sequence number.

Definition at line 62 of file Security.h.

◆ symbol() [1/2]

StrRef symbol ( ) const
inline

Security name or symbol.

Definition at line 80 of file Security.h.

◆ symbol() [2/2]

void symbol ( const StrRef & symbol)
inline

Updates security name or symbol.

Definition at line 86 of file Security.h.