Skip to content
Guavy Logo GUAVY
GET
·
/api/v1/trades/get-recent-sells

Get Recent Sells

This endpoint returns recent sells made by the Guavy trade simulator.
The trade simulator's strategies don't use Guavy's sentiment scores. Its signals and backtests are separate from the scored news, so you can read the two side by side.

Attributes

limit
integer
Specifies the maximum number of trades to return (default is 10, maximum 1000).
skip
integer
Specifies the number of sells to skip (default is 0). Consecutive pages never overlap: page until one comes back shorter than limit.
strategy
string
Specifies a risk profile to filter trades for. Either 'aggressive' or 'conservative'. Default is 'conservative'. Any other value, including a different capitalization, is treated as 'conservative' rather than rejected.

API Request

Example Request with cURL

curl \
--request GET \
--url     'https://guavy.com/api/v1/trades/get-recent-sells?limit=<integer>&skip=<integer>&strategy=<string>' \
--header 'Authorization: Bearer YOUR-GUAVY-ACCESS-TOKEN' \
--header 'Content-Type: application/json'

This request format works across all modern HTTP clients, including Python requests, JavaScript fetch, and other programming language libraries.

Example Response for /api/v1/trades/get-recent-sells?limit=2&skip=0&strategy=conservative

{
  "trades": [
    {
      "action": "Sell",
      "entry_price": 1281.262592038916,
      "exit_price": 1203.4714015067757,
      "exit_reason": "TrendChange",
      "highest_price": 1293.177748467832,
      "lowest_price": 1281.262592038916,
      "profit": -32.0315648009729,
      "profit_percent": -2.5,
      "sell_date": "2026-11-09",
      "strategy": "conservative",
      "symbol": "ZEC"
    },
    {
      "action": "Sell",
      "entry_price": 0.00387418811000751,
      "exit_price": 4.2659027064315e-5,
      "exit_reason": "TrendChange",
      "highest_price": 0.00387418811000751,
      "lowest_price": 0.00387418811000751,
      "profit": -9.685470275018776e-5,
      "profit_percent": -2.5,
      "sell_date": "2026-11-09",
      "strategy": "conservative",
      "symbol": "PIRATE"
    }
  ]
}

Response Object

trades
array[object]
Array of selling trade history objects, with the following keys:
action
string
The trade action taken (Sell).
entry_price
float
The price of the instrument when the trade was entered.
exit_price
float
The price of the instrument at the sell date.
exit_reason
string
The reason for exiting the trade.
highest_price
float
The highest price during the trade.
lowest_price
float
The lowest price during the trade.
profit
float
The profit of the trade.
profit_percent
float
The profit percentage of the trade.
sell_date
string
The date of the sell and exiting of the trade.
strategy
string
The risk profile used for the trade. Can be 'aggressive' or 'conservative'.
symbol
string
The symbol representing the instrument object.

Token Costs

Each API call consumes tokens from your monthly budget. Endpoints that return richer or deeper data cost more tokens. Historical endpoints scale with the amount of data requested.

You never have to guess how much is left: every metered response carries your balance in x-tokens-* headers: x-tokens-cost (what this call cost), x-tokens-limit / x-tokens-remaining (monthly), and x-tokens-limit-today / x-tokens-remaining-today (daily). The remaining values are net of any credit applied to the same request. A 401 refused at your limit carries them too, with x-tokens-cost at 0 because nothing was charged.

Endpoint Token Cost
GET /api/v1/ping 1
GET /api/v1/instruments/list-symbols 1
GET /api/v1/instruments/search-instruments/:query 2
GET /api/v1/instruments/get-detail/:symbol 5
GET /api/v1/instruments/scorecard/:symbol 10
GET /api/v1/newsroom/get-market-summary 3
GET /api/v1/newsroom/get-article/:id 3
GET /api/v1/newsroom/get-recent-briefs/:symbol 3 – 8 (scales with limit)
GET /api/v1/newsroom/search-briefs/:symbol 3 – 8 (scales with limit)
GET /api/v1/newsroom/get-instrument-analysis/:symbol 10
GET /api/v1/trades/get-recent-buys 3
GET /api/v1/trades/get-recent-sells 3
GET /api/v1/trades/get-recommendations 5
GET /api/v1/trades/get-current-action/:symbol/:strategy 5
GET /api/v1/trades/get-trend-history/:symbol/:limit 5 – 15 (scales with limit)
GET /api/v1/trades/get-backtest-history/:symbol/:strategy 8 – 20 (scales with years)
GET /api/v1/trades/get-backtest-summary/:symbol/:strategy 8 – 20 (scales with years)
GET /api/v1/sentiment/get-sentiment-history/:symbol 3 – 12 (scales with limit)
GET /api/v1/technical-analysis/get-price-history/:symbol 2 – 5 (5 for the full series, less with limit, from or to)
GET /api/v1/technical-analysis/get-indicators/:symbol 8

Account Limits

Each plan includes a monthly token budget: 3,000 for Sandbox, 250,000 for Quant, and 1,000,000 for Pro. Each market has its own budget, and a daily cap as well (500 tokens a day on Sandbox). The monthly budget resets to the full amount on the 1st of the month for an account with no active monthly subscription, or on your subscription's renewal date once its payment clears. Unused base tokens don't carry over. You can top up at any time with a one-time token pack; pack tokens never expire and any unused pack balance rolls forward. If you exceed your budget, the API returns a 401 until the next reset or until you purchase more tokens.

Connection Limits

The Guavy API allows 300 requests per minute per API key, returning 429 above that. We recommend caching responses that don't change frequently to reduce token consumption and improve performance.

Was this helpful?
Feedback option #{picture.id}
Feedback option #{picture.id}
Feedback option #{picture.id}
Feedback option #{picture.id}

© 2026 Guavy Inc. All rights reserved.