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

Public Member Functions

std::optional< param::PriceAsk () const noexcept
 
std::optional< param::PriceBid () const noexcept
 
std::optional< param::PriceMark () const noexcept
 
 Quote () 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
 

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

◆ Mark()

std::optional<param::Price> openpit::marketdata::Quote::Mark ( ) 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