ClearLoop Settlements
P&L is settled for all clients at the same time. If an exchange lacks sufficient collateral to meet all client settlement requirements, a margin call is issued, and client orders remain pending until the exchange tops up its account.
Note that Copper does not act as a calculation agent – P&L is always calculated by the exchange.
There is a dedicated section for settlements cycles in the user interface of every ClearLoop account, as shown below.

To obtain information about past settlements, use the Settlements API with the following parameters:
Query Parameters
Copper portfolio unique identifier for which records can be retrieved
Exchange account unique identifier for which records can be retrieved
Exchange settlement identifier per client. Every client has a different settlement id
Unix timestamp in milliseconds to filter settlements created after this time
Unix timestamp in milliseconds to filter settlements created before this time
Unix timestamp down to the millisecond granularity that can be used to retrieve records for this cycle timestamp
Last number of cycles that you want to retrieve for every exchange. For example for 1 cycle, it would mean to bring back the last settlement for every exchange
Comma separated list with statuses to be included. See details
Comma separated list with statuses not to be included. See details
Limit for pagination
Parameter to sort data in 'asc' ascending or 'desc' descending order according to 'created_at'
Offset for pagination
Response
OK
The response is of type object
.