dxFeed Graal CXX API v9.0.0
Loading...
Searching...
No Matches
OtcMarketsPriceType Struct Reference

Type of prices on the OTC Markets. More...

#include <OtcMarketsPriceType.hpp>

Inheritance diagram for OtcMarketsPriceType:

Public Member Functions

template<Integral OtherCodeType>
constexpr Enum (OtherCodeType code, std::string_view name) noexcept
 Creates an element of the enum.
Public Member Functions inherited from Enum< OtcMarketsPriceType, std::uint32_t >
constexpr std::uint32_t getCode () const noexcept
 Returns code that is used in flag bits.
std::string getName () const
 Returns the enum element name.
std::string toString () const
 Returns a string representation of an enum element.

Static Public Attributes

static const DXFCPP_EXPORT OtcMarketsPriceType UNPRICED {0, "UNPRICED"}
 Unpriced quotes are an indication of interest (IOI) in a security used when a trader does not wish to show a price or size.
static const DXFCPP_EXPORT OtcMarketsPriceType ACTUAL {1, "ACTUAL"}
 Actual (Priced) is the actual amount a trader is willing to buy or sell securities.
static const DXFCPP_EXPORT OtcMarketsPriceType WANTED {2, "WANTED"}
 Offer Wanted/Bid Wanted (OW/BW) is used to solicit sellers/buyers, without displaying actual price or size.
static const DXFCPP_EXPORT std::span< const std::reference_wrapper< const OtcMarketsPriceType > > ALL
 All elements of the enum (constant-initialized).

Additional Inherited Members

Static Public Member Functions inherited from Enum< OtcMarketsPriceType, std::uint32_t >
static const OtcMarketsPriceType & valueOf (OtherCodeType code) noexcept
 Returns enum element by integer code bit pattern.
Protected Member Functions inherited from Enum< OtcMarketsPriceType, std::uint32_t >
constexpr Enum (OtherCodeType code, std::string_view name) noexcept
 Creates an element of the enum.

Detailed Description

Type of prices on the OTC Markets.

Please see OTC Markets Data Display Requirements section "4.2 Quote Price Types" for complete description.

Member Function Documentation

◆ Enum()

template<Integral OtherCodeType>
Enum< Child, Code >::Enum ( OtherCodeType code,
std::string_view name )
inlineconstexprnoexcept

Creates an element of the enum.

Parameters
codeThe element code.
nameThe element name with static storage duration (a string literal).

Member Data Documentation

◆ UNPRICED

DXFCPP_BEGIN_NAMESPACE constinit const OtcMarketsPriceType OtcMarketsPriceType::UNPRICED {0, "UNPRICED"}
staticconstinit

Unpriced quotes are an indication of interest (IOI) in a security used when a trader does not wish to show a price or size.

Unpriced, name-only quotes are also used as the other side of a one-sided, priced quote. Unpriced quotes may not have a Quote Access Payment (QAP) value.

◆ WANTED

const OtcMarketsPriceType OtcMarketsPriceType::WANTED {2, "WANTED"}
staticconstinit

Offer Wanted/Bid Wanted (OW/BW) is used to solicit sellers/buyers, without displaying actual price or size.

OW/BW quotes may not have a Quote Access Payment (QAP) value.