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

com.xeiam.xchange.mexbt.dto.trade.MeXBTOrderCreateRequest Maven / Gradle / Ivy

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

import java.math.BigDecimal;

import com.xeiam.xchange.mexbt.dto.MeXBTInsRequest;
import com.xeiam.xchange.mexbt.service.MeXBTDigest;

import si.mazi.rescu.SynchronizedValueFactory;

public class MeXBTOrderCreateRequest extends MeXBTInsRequest {

  private final String side;
  private final int orderType;
  private final BigDecimal qty;
  private final BigDecimal px;

  public MeXBTOrderCreateRequest(String apiKey, SynchronizedValueFactory nonceFactory, MeXBTDigest meXBTDigest, String ins, String side,
      int orderType, BigDecimal qty, BigDecimal px) {
    super(apiKey, nonceFactory, meXBTDigest, ins);
    this.side = side;
    this.orderType = orderType;
    this.qty = qty;
    this.px = px;
  }

  public String getSide() {
    return side;
  }

  public int getOrderType() {
    return orderType;
  }

  public BigDecimal getQty() {
    return qty;
  }

  public BigDecimal getPx() {
    return px;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy