public class Timedata 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 |
|---|
Timedata(Instant time_period_start,
Instant time_period_end,
Instant time_open,
Instant time_close,
double price_open,
double price_high,
double price_low,
double price_close,
double volume_traded,
int trades_count) |
| Modifier and Type | Method and Description |
|---|---|
double |
get_price_close() |
double |
get_price_high() |
double |
get_price_low() |
double |
get_price_open() |
Instant |
get_time_close() |
Instant |
get_time_open() |
Instant |
get_time_period_end() |
Instant |
get_time_period_start() |
int |
get_trades_count() |
double |
get_volume_traded() |
public Instant get_time_period_start()
public Instant get_time_period_end()
public Instant get_time_open()
public Instant get_time_close()
public double get_price_open()
public double get_price_high()
public double get_price_low()
public double get_price_close()
public double get_volume_traded()
public int get_trades_count()
Copyright © 2019 MARMOT SOLUTIONS LTD. All rights reserved.