public class Quote extends Object
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(String symbol_id,
Instant time_exchange,
Instant time_coinapi,
double ask_price,
double ask_size,
double bid_price,
double bid_size) |
| Modifier and Type | Method and Description |
|---|---|
double |
get_ask_price() |
double |
get_ask_size() |
double |
get_bid_price() |
double |
get_bid_size() |
String |
get_symbol_id() |
Instant |
get_time_coinapi() |
Instant |
get_time_exchange() |
boolean |
has_last_trade() |
public String get_symbol_id()
public Instant get_time_exchange()
public Instant get_time_coinapi()
public double get_ask_price()
public double get_ask_size()
public double get_bid_price()
public double get_bid_size()
public boolean has_last_trade()
Copyright © 2019 MARMOT SOLUTIONS LTD. All rights reserved.