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

org.knowm.xchange.bitfinex.v1.dto.trade.BitfinexPastFundingTradesRequest Maven / Gradle / Ivy

There is a newer version: 4.3.19.2
Show newest version
package org.knowm.xchange.bitfinex.v1.dto.trade;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;

public class BitfinexPastFundingTradesRequest {

  @JsonProperty("request")
  protected String request;

  @JsonProperty("nonce")
  protected String nonce;

  @JsonProperty("symbol")
  protected String symbol;

  /** Trades made after this timestamp won’t be returned. */
  @JsonProperty("until")
  @JsonInclude(JsonInclude.Include.NON_NULL)
  protected Date until;

  @JsonProperty("limit_trades")
  @JsonInclude(JsonInclude.Include.NON_NULL)
  protected Integer limitTrades;

  public BitfinexPastFundingTradesRequest(
      String nonce, String symbol, Date until, Integer limitTrades) {

    this.request = "/v1/mytrades_funding";
    this.nonce = nonce;
    this.symbol = symbol;
    this.until = until;
    this.limitTrades = limitTrades;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy