Skip to main content
POST

Authorizations

API-Key
string
header
required

The "API-Key" header should contain your API key.

API-Sign
string
header
required

Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.

Body

application/json
nonce
integer<int64>
required

Nonce used in construction of API-Sign header

asset_class
enum<string>

Restrict results to one asset class. Omit to return all asset classes. Repeat the same value on subsequent cursor pages.

Available options:
forex,
tokenized_asset,
synthetic_pair
strategy_type
enum<string>

Restrict results to one strategy type. Omit to return all types.

Available options:
twap
status
enum<string>

Restrict results to one terminal status. Omit to return all three.

Available options:
closed,
expired,
cancelled
start
integer

Inclusive lower bound in Unix seconds, applied according to query_time_mode. Omit or use 0 for no lower bound.

end
integer

Inclusive upper bound in Unix seconds, including the entire end second. Omit or use 0 for no upper bound.

query_time_mode
enum<string>
default:both

Which timestamps the bounds apply to:

  • open: both bounds apply to the persisted opening time, not the scheduled starttm.
  • close: both bounds apply to the time the strategy reached a terminal state.
  • both: start bounds the opening time and end bounds the closing time; both conditions must hold. Results are ordered newest first by opening time for open, otherwise by closing time.
Available options:
open,
close,
both
limit
integer
default:100

Maximum number of strategies per page.

Required range: 1 <= x <= 100
cursor
string

Opaque pagination token from next_cursor of the previous page. Omit for the first page. The cursor stores a sort position, not the filters, so repeat the original asset_class, strategy_type, status, start, end and query_time_mode on every page.

Response

200 - application/json

Closed strategies retrieved.

result
ClosedStrategies · object
error
string[]

Kraken API error