Skip to main content
GET
GET /dca-order/strategies/{id} returns one strategy created with your API key: its tokens, budget, schedule, price bounds and status. The response doesn’t include the strategy’s orders. Get them with GET /dca-order/strategies/{id}/orders, or list your strategies together with their orders with GET /dca-order/strategies.

Strategy status

Treat any other value as not final. The strategy doesn’t report its own progress: list its orders and read the status of each one.

Fields

  • totalAmount, slippage, minPrice and maxPrice are JSON numbers in human-readable units, as sent. minPrice and maxPrice are absent when the strategy has no bounds, and slippage is 0 when the strategy was created without it.
  • Addresses come back exactly as they were sent. pair and signature aren’t returned.
  • createdAt and updatedAt are ISO 8601 timestamps in UTC.

Not found

404 NOT_FOUND with the message “DCA strategy not found” means that no strategy with this ID belongs to your API key: the ID doesn’t exist, or another API key created it. Each API key sees only its own strategies.

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.

Path Parameters

id
string
required

Strategy ID, as returned when it was created.

Response

The strategy.

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

A DCA strategy. Olympex can add fields; ignore the ones you don't use.

meta
object
required