com.longport.trade.GetHistoryOrdersOptions 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.time.OffsetDateTime;
import com.longport.Market;
@SuppressWarnings("unused")
public class GetHistoryOrdersOptions {
private String symbol;
private OrderStatus[] status;
private OrderSide side;
private Market market;
private OffsetDateTime startAt;
private OffsetDateTime endAt;
public GetHistoryOrdersOptions setSymbol(String symbol) {
this.symbol = symbol;
return this;
}
public GetHistoryOrdersOptions setStatus(OrderStatus[] status) {
this.status = status;
return this;
}
public GetHistoryOrdersOptions setSide(OrderSide side) {
this.side = side;
return this;
}
public GetHistoryOrdersOptions setMarket(Market market) {
this.market = market;
return this;
}
public GetHistoryOrdersOptions setStartAt(OffsetDateTime startAt) {
this.startAt = startAt;
return this;
}
public GetHistoryOrdersOptions setEndAt(OffsetDateTime endAt) {
this.endAt = endAt;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy