Account
Get Depositor Portfolio History
Depositor portfolio history (net transfers, share value, TWR, max drawdown) across one or more strategies
AuthorizationBearer <token>
JWT token obtained from POST /auth endpoint
In: header
Query Parameters
accountarray<string>
Strategy account address(es). Repeat param for multiple; same length as subaccountIndex. Max 20 strategies.
subaccountIndexarray<integer>
Strategy subaccount indices for each account. Repeat param; same length as account. Max 20 strategies.
from?integer
Snapshots at or after this time (ms).
Format
int64Range
0 <= valueto?integer
Snapshots before this time (ms).
Format
int64Range
0 <= valuelimit?integer
Max snapshots to return.
Format
int32Range
1 <= value <= 10000Response Body
application/json
text/plain
text/plain
text/plain
curl -X GET "https://engine.cascade.cooking/account/depositor/portfolio/history?account=0x61171b5cb4ea4b30766b3aff150c9fec6fe0300c&subaccountIndex=%5B0%2C+1%5D&limit=100"[
{
"cumulativeTwr": "string",
"depositValue": "string",
"maxDrawdown": "string",
"positionNav": "string",
"timestamp": 0
}
]"string""string""string"