Skip to main content

Build for scale and launch faster

All the market complexity of pricing, events and returns, solved. You just build the experience.

Request access
GET /portfolios/{portfolioId}/twr
# Cumulative return (TWR) of a portfolio
curl -G "https://core.gorila.com.br/portfolios/$ID/twr" \
-d startDate=2026-01-02 -d frequency=DAILY \
-d seriesType=ACCUMULATED \
-H "Authorization: $GORILA_API_KEY"
{
"interval": {
"startDate": "2026-01-02",
"endDate": "2026-10-09",
"twr": 0.0871
},
"timeseries": [ ... ]
}

Get started in 3 steps

Quick Start guide

1. Create portfolios

Create a portfolio for each client, authenticating with your organization's API key.

2. Add transactions

Record each portfolio's transactions: stocks, funds, fixed income, offshore and other securities.

3. Query the metrics

Net asset value, profit and loss, returns and risk, calculated from the transactions.

Explore the docs

Core Concepts

Portfolios, transactions, securities and positions: the foundation of the data model.

Securities

Custom securities, classification and the metrics of a single security.

Analysis and Metrics

How we calculate returns, profit and loss, net asset value and risk.

API Reference

Every endpoint, with its parameters and request and response examples.

Open the reference

Use cases