Rebalance

Re-aligns Traders to the supplied allocations. Asynchronous. If participants is omitted, every Trader with auto_rebalance: true is targeted; if provided, only those Traders are targeted (ignoring their auto_rebalance flag). A weight of "0" means "fully exit this asset"; assets the Trader currently holds that are missing from the list are also fully exited.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Unique identifier of the Strategy.

Body Params
allocations
array of objects
required

New target weights. A weight of "0" means "fully exit this asset"; assets the Trader currently holds that are missing from this list are also fully exited.

allocations*
participants
array of objects

Optional. If present, the Rebalance targets exactly these Traders (ignoring auto_rebalance). If omitted, the Rebalance targets every Trader with auto_rebalance: true.

participants
Headers
string
required

HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.

string
required

Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.

Responses

404

Strategy not found.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json