Package com.longbridge.grid
Class GetGridOrdersOptions
- java.lang.Object
-
- com.longbridge.grid.GetGridOrdersOptions
-
public class GetGridOrdersOptions extends Object
Options for querying grid trading orders (paged list)
-
-
Constructor Summary
Constructors Constructor Description GetGridOrdersOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetGridOrdersOptionssetLimit(Integer limit)Sets the page size.GetGridOrdersOptionssetMarket(Market market)Sets the market filter.GetGridOrdersOptionssetPage(Integer page)Sets the page number.GetGridOrdersOptionssetSortBy(String sortBy)Sets the sort field.GetGridOrdersOptionssetSortOrder(String sortOrder)Sets the sort order.GetGridOrdersOptionssetStatus(String status)Sets the status filter (comma-joined, e.g.GetGridOrdersOptionssetSymbol(String symbol)Sets the security symbol filter (e.g. 700.HK).
-
-
-
Method Detail
-
setPage
public GetGridOrdersOptions setPage(Integer page)
Sets the page number.- Parameters:
page- page number- Returns:
- this instance for chaining
-
setLimit
public GetGridOrdersOptions setLimit(Integer limit)
Sets the page size.- Parameters:
limit- page size- Returns:
- this instance for chaining
-
setMarket
public GetGridOrdersOptions setMarket(Market market)
Sets the market filter.- Parameters:
market- market- Returns:
- this instance for chaining
-
setStatus
public GetGridOrdersOptions setStatus(String status)
Sets the status filter (comma-joined, e.g.Performing,Suspended).- Parameters:
status- status filter- Returns:
- this instance for chaining
-
setSymbol
public GetGridOrdersOptions setSymbol(String symbol)
Sets the security symbol filter (e.g. 700.HK).- Parameters:
symbol- security symbol- Returns:
- this instance for chaining
-
setSortBy
public GetGridOrdersOptions setSortBy(String sortBy)
Sets the sort field.- Parameters:
sortBy- sort field- Returns:
- this instance for chaining
-
setSortOrder
public GetGridOrdersOptions setSortOrder(String sortOrder)
Sets the sort order.- Parameters:
sortOrder- sort order- Returns:
- this instance for chaining
-
-