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

org.knowm.xchange.okcoin.dto.account.OkcoinFuturesFundsCross Maven / Gradle / Ivy

There is a newer version: 5.2.0
Show newest version
package org.knowm.xchange.okcoin.dto.account;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;

public class OkcoinFuturesFundsCross {

  private final BigDecimal accountRights;
  private final BigDecimal keepDeposits;
  private final BigDecimal profitReal;
  private final BigDecimal profitUnreal;
  private final int riskRate;

  public OkcoinFuturesFundsCross(
      @JsonProperty("account_rights") BigDecimal accountRights,
      @JsonProperty("keep_deposit") BigDecimal keepDeposits,
      @JsonProperty("profit_real") BigDecimal profitReal,
      @JsonProperty("profit_unreal") BigDecimal profitUnreal,
      @JsonProperty("risk_rate") int riskRate) {

    this.accountRights = accountRights;
    this.keepDeposits = keepDeposits;
    this.profitReal = profitReal;
    this.profitUnreal = profitUnreal;
    this.riskRate = riskRate;
  }

  public BigDecimal getAccountRights() {

    return accountRights;
  }

  public BigDecimal getKeepDeposits() {

    return keepDeposits;
  }

  public BigDecimal getProfitReal() {

    return profitReal;
  }

  public BigDecimal getProfitUnreal() {

    return profitUnreal;
  }

  public int getRiskRate() {

    return riskRate;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy