All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.bitrich.xchangestream.bitmex.dto.BitmexFunding Maven / Gradle / Ivy

There is a newer version: 5.2.0
Show newest version
package info.bitrich.xchangestream.bitmex.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

public class BitmexFunding extends BitmexMarketDataEvent {

  private double fundingRate;

  private double fundingRateDaily;

  public BitmexFunding(
      @JsonProperty("symbol") String symbol,
      @JsonProperty("timestamp") String timestamp,
      @JsonProperty("fundingRate") double fundingRate,
      @JsonProperty("fundingRateDaily") double fundingRateDaily) {
    super(symbol, timestamp);
    this.fundingRate = fundingRate;
    this.fundingRateDaily = fundingRateDaily;
  }

  public double getFundingRate() {
    return fundingRate;
  }

  public double getFundingRateDaily() {
    return fundingRateDaily;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy