OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
openpit::marketdata::Quote Class Reference

Public Member Functions

std::optional< param::Price > Ask () const noexcept
 
std::optional< param::Price > Bid () const noexcept
 
std::optional< param::Price > Mark () const noexcept
 
 Quote () noexcept
 
OpenPitMarketDataQuote Raw () const noexcept
 
Quote WithAsk (const param::Price &ask) const noexcept
 
Quote WithBid (const param::Price &bid) const noexcept
 
Quote WithMark (const param::Price &mark) const noexcept
 

Static Public Member Functions

static Quote FromRaw (OpenPitMarketDataQuote raw) noexcept
 

Constructor & Destructor Documentation

◆ Quote()

openpit::marketdata::Quote::Quote ( )
inlinenoexcept

Member Function Documentation

◆ Ask()

std::optional<param::Price> openpit::marketdata::Quote::Ask ( ) const
inlinenoexcept

◆ Bid()

std::optional<param::Price> openpit::marketdata::Quote::Bid ( ) const
inlinenoexcept

◆ FromRaw()

static Quote openpit::marketdata::Quote::FromRaw ( OpenPitMarketDataQuote  raw)
inlinestaticnoexcept

◆ Mark()

std::optional<param::Price> openpit::marketdata::Quote::Mark ( ) const
inlinenoexcept

◆ Raw()

OpenPitMarketDataQuote openpit::marketdata::Quote::Raw ( ) const
inlinenoexcept

◆ WithAsk()

Quote openpit::marketdata::Quote::WithAsk ( const param::Price &  ask) const
inlinenoexcept

◆ WithBid()

Quote openpit::marketdata::Quote::WithBid ( const param::Price &  bid) const
inlinenoexcept

◆ WithMark()

Quote openpit::marketdata::Quote::WithMark ( const param::Price &  mark) const
inlinenoexcept