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

com.xeiam.xchange.hitbtc.dto.trade.HitbtcNewOrderRequest Maven / Gradle / Ivy

The newest version!
package com.xeiam.xchange.hitbtc.dto.trade;

import java.math.BigDecimal;

import javax.ws.rs.FormParam;

public class HitbtcNewOrderRequest {

  @FormParam("clientOrderId")
  protected String clientOrderId;

  @FormParam("symbol")
  protected String symbol;

  @FormParam("side")
  protected String side;

  @FormParam("price")
  protected BigDecimal price;

  @FormParam("quantity")
  protected int quantity;

  @FormParam("timeInForce")
  protected String timeInForce;

  public HitbtcNewOrderRequest(String clientOrderId, String symbol, String side, BigDecimal price, int quantity, String timeInForce) {

    super();
    this.clientOrderId = clientOrderId;
    this.symbol = symbol;
    this.side = side;
    this.price = price;
    this.quantity = quantity;
    this.timeInForce = timeInForce;
  }

  public String getClientOrderId() {

    return clientOrderId;
  }

  public String getSymbol() {

    return symbol;
  }

  public String getSide() {

    return side;
  }

  public BigDecimal getPrice() {

    return price;
  }

  public int getQuantity() {

    return quantity;
  }

  public String getTimeInForce() {

    return timeInForce;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy