public class Quote_with_trade extends Quote
This class is multithread safe: it is immutable. In particular, it is always properly constructed, all of its fields are final, and none of their state can be changed after construction. See p. 53 of Java Concurrency In Practice for more discussion.
| Constructor and Description |
|---|
Quote_with_trade(String symbol_id,
Instant time_exchange,
Instant time_coinapi,
double ask_price,
double ask_size,
double bid_price,
double bid_size,
Trade last_trade) |
| Modifier and Type | Method and Description |
|---|---|
Trade |
get_last_trade() |
boolean |
has_last_trade() |
get_ask_price, get_ask_size, get_bid_price, get_bid_size, get_symbol_id, get_time_coinapi, get_time_exchangepublic boolean has_last_trade()
has_last_trade in class Quotepublic Trade get_last_trade()
Copyright © 2019 MARMOT SOLUTIONS LTD. All rights reserved.