package org.knowm.xchange.hitbtc.v2.dto;

import java.math.BigDecimal;

public class HitbtcCandle {

  private String timestamp;

  private BigDecimal open;

  private BigDecimal close;

  private BigDecimal min;

  private BigDecimal max;

  private BigDecimal volume;

  private BigDecimal volumeQuote;

  @Override
  public String toString() {
    return "HitbtcCandle [timestamp="
        + timestamp
        + ", open="
        + open
        + ", max="
        + max
        + ", min="
        + min
        + ", close="
        + close
        + ", volumeQuote="
        + volumeQuote
        + ", volume="
        + volume
        + "]";
  }

  public String getTimestamp() {
    return timestamp;
  }

  public BigDecimal getOpen() {
    return open;
  }

  public BigDecimal getClose() {
    return close;
  }

  public BigDecimal getMin() {
    return min;
  }

  public BigDecimal getMax() {
    return max;
  }

  public BigDecimal getVolume() {
    return volume;
  }

  public BigDecimal getVolumeQuote() {
    return volumeQuote;
  }
}

@@ -299,16 +299,396 @@
 Quote;%0A%0A
+  public HitbtcCandle(%0A      String timestamp,%0A      BigDecimal open,%0A      BigDecimal close,%0A      BigDecimal min,%0A      BigDecimal max,%0A      BigDecimal volume,%0A      BigDecimal volumeQuote) %7B%0A    this.timestamp = timestamp;%0A    this.open = open;%0A    this.close = close;%0A    this.min = min;%0A    this.max = max;%0A    this.volume = volume;%0A    this.volumeQuote = volumeQuote;%0A  %7D%0A%0A
   @Overr

add public constructor to HitbtcCandle