Skip to content
This repository was archived by the owner on Jan 17, 2024. It is now read-only.

Order_QueryParameters

hallee edited this page May 21, 2020 · 2 revisions

Order.QueryParameters

struct QueryParameters: QueryParameter, Hashable

Inheritance

Hashable, QueryParameter

Initializers

init(status:limit:after:until:direction:nested:)

public init(status: OrderStatusFilter? = nil, limit: Quantity? = nil, after: Date? = nil, until: Date? = nil, direction: Direction? = nil, nested: Bool? = nil)

Properties

status

let status: OrderStatusFilter?

limit

The maximum number of orders in response. Defaults to 50 and max is 500.

let limit: Quantity?

after

The response will include only ones submitted after this timestamp (exclusive.)

let after: Date?

until

The response will include only ones submitted until this timestamp (exclusive.)

let until: Date?

direction

let direction: Direction?

nested

If true, the result will roll up multi-leg orders under the legs field of primary order.

let nested: Bool?
Clone this wiki locally