POST https://api.cryptohopper.com/v1/backtest/{id}/notes

Saves a new note with an optional title on one of your backtests. Line breaks in the note are stored as <br /> tags.

OAuth scope: read manage About scopes

Requires an active subscription or trial; otherwise the request is refused with 403.

Example request

curl -X POST "https://api.cryptohopper.com/v1/backtest/BACKTEST_ID/notes" \
  -H "access-token: YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"First run","note":"Good results on BTC. Try a lower take profit next."}'

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Path parameters

NameTypeRequiredDescription
id string Required Backtest ID, as returned by List backtests.

Response

Example response (illustrative values)

{
    "data": "Note saved."
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.