dxFeed Graal CXX API v4.2.0
Loading...
Searching...
No Matches
OptionChain< T > Class Template Referencefinal

Set of option series for a single product or underlying symbol. More...

#include <OptionChain.hpp>

Public Member Functions

const std::string & getSymbol () const &
 Returns symbol (product or underlying) of this option chain.
 
std::set< OptionSeries< T > > getSeries ()
 Returns a sorted set of option series of this option chain.
 

Friends

class OptionChainsBuilder< T >
 

Detailed Description

template<typename T>
class OptionChain< T >

Set of option series for a single product or underlying symbol.

Threads and clocks

This class is NOT thread-safe and cannot be used from multiple threads without external synchronization.

Template Parameters
TThe type of option instrument instances

Member Function Documentation

◆ getSeries()

template<typename T>
std::set< OptionSeries< T > > OptionChain< T >::getSeries ( )
inline

Returns a sorted set of option series of this option chain.

Returns
sorted set of option series of this option chain.

◆ getSymbol()

template<typename T>
const std::string & OptionChain< T >::getSymbol ( ) const &
inline

Returns symbol (product or underlying) of this option chain.

Returns
symbol (product or underlying) of this option chain.