Skip to main content
GET
GET /dca-order/strategies returns the DCA strategies created with your API key, newest first. Each strategy carries an orders array with the orders Olympex has created for it so far, oldest first. Filter by maker wallet with accountTo and by strategy status with status. To read a single strategy, use GET /dca-order/strategies/{id}, which returns it without its orders.

Filters

Send both parameters to get the strategies that match both. Without filters, the list includes every strategy the API key created, cancelled and finished ones included. The API doesn’t validate status: a value outside this table returns an empty array, not an error. Other query parameters, such as chainId, are ignored, so check the spelling: ?acountTo= returns every strategy. Send each parameter once: a repeated parameter returns an empty array.

Response size

The list is unpaginated. Every matching strategy comes back in one response, with all of its orders, so the response grows with each strategy and each order. To follow one strategy, call GET /dca-order/strategies/{id}/orders instead of the full list.

Check before you create again

POST /dca-order/strategies creates a new strategy on every successful call. If a create request times out, list the maker’s active strategies and look for one with the same tokens, totalAmount, iterations and frequency, created around the time you sent the request, before you send it again.

Authorizations

x-api-key-id
string
header
required

Your API key ID (UUID). See Sign requests.

x-value-info
string
header
required

Base64 of timestamp + "\n" + nonce + "\n" + bodyHash, where timestamp is Unix seconds, nonce is 24 new hexadecimal characters and bodyHash is the unpadded base64url SHA-256 of the canonical body.

x-passphrase
string
header
required

Your account passphrase. Treat it like the secret key.

x-signature
string
header
required

Lowercase hex HMAC-SHA256 (signature v2), keyed with your secret key string (UTF-8, not decoded), of seven lines joined with \n, with no trailing newline: OLPX-HMAC-SHA256-V2, timestamp, nonce, the uppercase method, path, canonicalQuery and bodyHash. path is the request path including /api/v1, without the query string, for example /api/v1/limit-order/<id>. canonicalQuery is the query parameters decoded (+ is a space), sorted by key and then by value, re-encoded per RFC 3986 and joined with &, or the empty string when there is no query. Headers signed for one request are rejected on any other. See Sign requests.

Query Parameters

accountTo
string

Only strategies for this maker wallet. Matches case-sensitively: use the exact form you sent.

status
enum<string>

Only strategies with this status.

Available options:
pending,
active,
cancelled,
finished

Response

Matching strategies, each with its orders.

success
enum<boolean>
required
Available options:
true
data
object[]
required

Every DCA strategy created with this API key that matches the filters, newest first, each with its orders. Unpaginated.

meta
object
required