Package com.longbridge.trade
Class GetAllExecutionsOptions
- java.lang.Object
-
- com.longbridge.trade.GetAllExecutionsOptions
-
public class GetAllExecutionsOptions extends Object
Options for querying all executions
-
-
Constructor Summary
Constructors Constructor Description GetAllExecutionsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAllExecutionsOptionssetEndAt(OffsetDateTime endAt)Sets the end of the query time range.GetAllExecutionsOptionssetOrderId(String orderId)Filters by order ID.GetAllExecutionsOptionssetPage(long page)Sets the page number (starting from 1).GetAllExecutionsOptionssetStartAt(OffsetDateTime startAt)Sets the start of the query time range.GetAllExecutionsOptionssetSymbol(String symbol)Filters by security symbol.
-
-
-
Method Detail
-
setSymbol
public GetAllExecutionsOptions setSymbol(String symbol)
Filters by security symbol.- Parameters:
symbol- security symbol- Returns:
- this instance for chaining
-
setOrderId
public GetAllExecutionsOptions setOrderId(String orderId)
Filters by order ID.- Parameters:
orderId- order ID- Returns:
- this instance for chaining
-
setStartAt
public GetAllExecutionsOptions setStartAt(OffsetDateTime startAt)
Sets the start of the query time range.- Parameters:
startAt- start time- Returns:
- this instance for chaining
-
setEndAt
public GetAllExecutionsOptions setEndAt(OffsetDateTime endAt)
Sets the end of the query time range.- Parameters:
endAt- end time- Returns:
- this instance for chaining
-
setPage
public GetAllExecutionsOptions setPage(long page)
Sets the page number (starting from 1).- Parameters:
page- page number- Returns:
- this instance for chaining
-
-