public class Trade 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 |
|---|
Trade(String symbol_id,
Instant time_exchange,
Instant time_coinapi,
String uuid,
double price,
double size,
Taker_side taker_side) |
| Modifier and Type | Method and Description |
|---|---|
double |
get_price() |
double |
get_size() |
String |
get_symbol_id() |
Taker_side |
get_taker_side() |
Instant |
get_time_coinapi() |
Instant |
get_time_exchange() |
String |
get_uuid() |
public Trade(String symbol_id, Instant time_exchange, Instant time_coinapi, String uuid, double price, double size, Taker_side taker_side)
public String get_symbol_id()
public Instant get_time_exchange()
public Instant get_time_coinapi()
public String get_uuid()
public double get_price()
public double get_size()
public Taker_side get_taker_side()
Copyright © 2019 MARMOT SOLUTIONS LTD. All rights reserved.