<commit_before>package com.xeiam.xchange.bitfinex.v1.dto.marketdata;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonProperty;

public class BitfinexLevel {

  private final BigDecimal price;
  private final BigDecimal amount;
  private final float timestamp;

  /**
   * Constructor
   * 
   * @param price
   * @param amount
   * @param timestamp
   */
  public BitfinexLevel(@JsonProperty("price") BigDecimal price, @JsonProperty("amount") BigDecimal amount, @JsonProperty("timestamp") float timestamp) {

    this.price = price;
    this.amount = amount;
    this.timestamp = timestamp;
  }

  public BigDecimal getPrice() {

    return price;
  }

  public BigDecimal getAmount() {

    return amount;
  }

  public float getTimestamp() {

    return timestamp;
  }

  @Override<commit_msg>Changed the datatype of the timestamp field from float to BigDecimal. float is not able to represent the timestamp used by Bitfinex precisely.<commit_after>package com.xeiam.xchange.bitfinex.v1.dto.marketdata;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonProperty;

public class BitfinexLevel {

  private final BigDecimal price;
  private final BigDecimal amount;
  private final BigDecimal timestamp;

  /**
   * Constructor
   * 
   * @param price
   * @param amount
   * @param timestamp
   */
  public BitfinexLevel(@JsonProperty("price") BigDecimal price, @JsonProperty("amount") BigDecimal amount, @JsonProperty("timestamp") BigDecimal timestamp) {

    this.price = price;
    this.amount = amount;
    this.timestamp = timestamp;
  }

  public BigDecimal getPrice() {

    return price;
  }

  public BigDecimal getAmount() {

    return amount;
  }

  public BigDecimal getTimestamp() {

    return timestamp;
  }

  @Override
{'fraction_non_alphanumeric': 0.09172259507829977, 'fraction_numerical': 0.0011185682326621924, 'mean_word_length': 3.7203166226912927, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3961855', 'n_tokens_mistral': 538, 'n_tokens_neox': 502, 'n_words': 141}