package cc.bitbank.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by tanaka on 2017/04/11.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class Ticker extends Data {
    public int sell;
    public int buy;
    public int high;
    public int low;
    public int last;
    public BigDecimal vol;
    public Date timestamp;

    @Override
    public String toString() {
        return "[Ticker] buy " + buy + ", sell " + sell + ", high " + high + ", low " + low +
                ", last " + last + ", vol " + vol + ", timestamp " + timestamp;
    }
}

@@ -271,19 +271,26 @@
  public 
-int
+BigDecimal
  sell;%0A 
@@ -299,19 +299,26 @@
  public 
-int
+BigDecimal
  buy;%0A  
@@ -326,19 +326,26 @@
  public 
-int
+BigDecimal
  high;%0A 
@@ -354,19 +354,26 @@
  public 
-int
+BigDecimal
  low;%0A  
@@ -385,11 +385,18 @@
 lic 
-int
+BigDecimal
  las

Fix Ticker types