#include <slick-trader/brokers/common/price_scale.hpp>
|
| static std::optional< PriceScale > | from_ratio (int64_t num, int64_t den) noexcept |
| static PriceScale | identity () noexcept |
Definition at line 18 of file price_scale.hpp.
◆ denominator()
| int64_t slick::trader::PriceScale::denominator |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ from_ratio()
| std::optional< PriceScale > slick::trader::PriceScale::from_ratio |
( |
int64_t | num, |
|
|
int64_t | den ) |
|
inlinestaticnoexcept |
◆ identity()
| PriceScale slick::trader::PriceScale::identity |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ numerator()
| int64_t slick::trader::PriceScale::numerator |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
◆ to_price()
| bool slick::trader::PriceScale::to_price |
( |
int64_t | wire, |
|
|
price_t & | out ) const |
|
inlinenodiscardnoexcept |
◆ to_wire()
| bool slick::trader::PriceScale::to_wire |
( |
price_t | price, |
|
|
int64_t & | out ) const |
|
inlinenodiscardnoexcept |
The documentation for this class was generated from the following file: