cURL
curl --request POST \ --url https://api.endaoment.org/v1/recommendations/trade \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "issuerEntityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "portfolioId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "issuerEntityType": "org", "amountUsdc": "100000000", "tradeType": "Buy", "slippageToleranceBps": 50, "isMax": false, "collaboratingFundId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }'
{ "id": "123e4567-e89b-12d3-a456-426614174000" }
Creates a recommendation for a portfolio trade (buy/sell).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Portfolio trade recommendation successfully created
The response is of type object.
object
Was this page helpful?