com.longport.trade.EstimateMaxPurchaseQuantityOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-sdk Show documentation
Show all versions of openapi-sdk Show documentation
LongPort OpenAPI SDK for Java
package com.longport.trade;
import java.math.BigDecimal;
@SuppressWarnings("unused")
public class EstimateMaxPurchaseQuantityOptions {
private String symbol;
private OrderType orderType;
private OrderSide side;
private BigDecimal price;
private String currency;
private String orderId;
public EstimateMaxPurchaseQuantityOptions(String symbol, OrderType orderType, OrderSide side) {
this.symbol = symbol;
this.orderType = orderType;
this.side = side;
}
public EstimateMaxPurchaseQuantityOptions setPrice(BigDecimal price) {
this.price = price;
return this;
}
public EstimateMaxPurchaseQuantityOptions setCurrency(String currency) {
this.currency = currency;
return this;
}
public EstimateMaxPurchaseQuantityOptions setOrderId(String orderId) {
this.orderId = orderId;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy