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

com.longport.trade.GetHistoryOrdersOptions Maven / Gradle / Ivy

There is a newer version: 2.1.5
Show newest version
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