BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
33 const limit_order_id_type& _id,
34 const account_id_type& _oid,
36 const time_point_sec& _exp )
49 : base( _base ), quote( _quote )
74 if( mto.
base != asset_base.
id )
75 latest_price = ~latest_price;
81 if( mto.
base != asset_base.
id )
82 last_day_price = ~last_day_price;
85 if( asset_base.
id == mto.
base )
98 if(!orders.
asks.empty())
105 if(!orders.
bids.empty())
share_type last_day_quote
string lowest_ask_quote_size
The price struct stores asset prices in the BitShares system.
tracks the parameters of an asset
string highest_bid_base_size
string symbol
Ticker symbol for this asset, i.e. "USD".
fc::uint128_t base_volume
optional< object_id_type > mto_id
uint8_t precision
Maximum number of digits after the decimal point (must be <= 12)
string lowest_ask_base_size
std::string price_diff_percent_string(const graphene::protocol::price &old_price, const graphene::protocol::price &new_price)
std::string price_to_string(const graphene::protocol::price &_price, const uint8_t base_precision, const uint8_t quote_precision)
provides stack-based nullable value similar to boost::optional
std::string uint128_amount_to_string(const fc::uint128_t &amount, const uint8_t precision)
fc::uint128_t quote_volume
string highest_bid_quote_size