RiskReward Pro Performance API
The Performance API from RiskReward Pro — 1 operation(s) for performance.
The Performance API from RiskReward Pro — 1 operation(s) for performance.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/riskreward-pro:riskreward-pro-performance-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: RiskReward Pro Free Calculation Performance API
version: 1.0.0
contact:
name: RiskReward Pro support
email: support@riskreward.pro
url: https://riskreward.pro/support
description: Stateless trading calculations. No API key, account access, market data, trade execution or data persistence by the calculation service. Inputs must be supplied by the user. Hosting logs may contain request metadata.
servers:
- url: https://riskreward.pro
security: []
tags:
- name: Performance
paths:
/api/v1/performance:
post:
operationId: analyze_trade_performance
summary: Realized trading performance
description: Analyze up to 500 chronological closed trades supplied by the user, each with net P&L after costs and original risk. Returns win rate, profit factor, expectancy in currency and R, total net R, and optional closed-trade equity drawdown when initial equity is supplied. Use for reviewing an existing trade sample. No account access, deposits, intratrade drawdown, forecasts, signals, or new risk recommendations.
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
quoteCurrency:
description: Currency shared by all monetary inputs. Defaults to USD; no currency conversion is performed.
type: string
pattern: ^[A-Z][A-Z0-9]{1,9}$
initialEquity:
description: Starting equity before the ordered trades. Required only for equity drawdown metrics. No deposits or withdrawals are modeled.
type: number
exclusiveMinimum: 0
maximum: 1000000000000
trades:
minItems: 1
maxItems: 500
type: array
items:
type: object
properties:
netPnl:
type: number
minimum: -1000000000000
maximum: 1000000000000
description: Realized P&L after all fees and costs. Positive is profit; negative is loss.
initialRisk:
type: number
exclusiveMinimum: 0
maximum: 1000000000000
description: Original planned risk amount, including planned fees if that is your convention. Do not replace it with a later stop risk.
required:
- netPnl
- initialRisk
additionalProperties: false
description: Closed trades ordered chronologically, all using the same currency and risk convention. Maximum 500.
required:
- trades
additionalProperties: false
example:
quoteCurrency: USD
initialEquity: 10000
trades:
- netPnl: 150
initialRisk: 100
- netPnl: -100
initialRisk: 100
- netPnl: 50
initialRisk: 50
responses:
'200':
description: Calculation with normalized inputs, explicit assumptions, units and reproducible link.
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
tool:
type: string
enum:
- calculate_position_size
- calculate_net_risk_reward
- analyze_trade_performance
calculationVersion:
type: string
const: 1.0.0
inputs:
type: object
propertyNames:
type: string
additionalProperties: {}
metrics:
type: object
propertyNames:
type: string
additionalProperties:
type: object
properties:
value:
type:
- number
- 'null'
unit:
type: string
label:
type: string
required:
- value
- unit
- label
additionalProperties: false
assumptions:
type: array
items:
type: string
warnings:
type: array
items:
type: string
formulas:
type: array
items:
type: string
documentationUrl:
type: string
format: uri
reproduceUrl:
anyOf:
- type: string
format: uri
- type: 'null'
required:
- tool
- calculationVersion
- inputs
- metrics
- assumptions
- warnings
- formulas
- documentationUrl
- reproduceUrl
additionalProperties: false
'400':
description: Malformed JSON. Correct its UTF-8 JSON encoding.
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Stable machine-readable error code.
message:
type: string
description: Explanation of why this request failed.
resolution:
type: string
description: Concrete corrective action before retrying.
documentation:
type: string
format: uri
description: Public documentation for the API contract.
issues:
description: Field-specific validation errors, when applicable.
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
additionalProperties: false
required:
- code
- message
- resolution
- documentation
additionalProperties: false
required:
- error
additionalProperties: false
'403':
description: Invalid Host or Origin. Use the canonical HTTPS API host.
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Stable machine-readable error code.
message:
type: string
description: Explanation of why this request failed.
resolution:
type: string
description: Concrete corrective action before retrying.
documentation:
type: string
format: uri
description: Public documentation for the API contract.
issues:
description: Field-specific validation errors, when applicable.
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
additionalProperties: false
required:
- code
- message
- resolution
- documentation
additionalProperties: false
required:
- error
additionalProperties: false
'404':
description: Unknown API endpoint. Discover supported endpoints through /api.
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Stable machine-readable error code.
message:
type: string
description: Explanation of why this request failed.
resolution:
type: string
description: Concrete corrective action before retrying.
documentation:
type: string
format: uri
description: Public documentation for the API contract.
issues:
description: Field-specific validation errors, when applicable.
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
additionalProperties: false
required:
- code
- message
- resolution
- documentation
additionalProperties: false
required:
- error
additionalProperties: false
'405':
description: Unsupported HTTP method. Use POST with JSON.
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Stable machine-readable error code.
message:
type: string
description: Explanation of why this request failed.
resolution:
type: string
description: Concrete corrective action before retrying.
documentation:
type: string
format: uri
description: Public documentation for the API contract.
issues:
description: Field-specific validation errors, when applicable.
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
additionalProperties: false
required:
- code
- message
- resolution
- documentation
additionalProperties: false
required:
- error
additionalProperties: false
headers:
Allow:
schema:
type: string
description: Supported HTTP methods.
'413':
description: Body exceeds 64 KiB. Reduce the request size.
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Stable machine-readable error code.
message:
type: string
description: Explanation of why this request failed.
resolution:
type: string
description: Concrete corrective action before retrying.
documentation:
type: string
format: uri
description: Public documentation for the API contract.
issues:
description: Field-specific validation errors, when applicable.
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
additionalProperties: false
required:
- code
- message
- resolution
- documentation
additionalProperties: false
required:
- error
additionalProperties: false
'415':
description: Content-Type must be application/json.
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Stable machine-readable error code.
message:
type: string
description: Explanation of why this request failed.
resolution:
type: string
description: Concrete corrective action before retrying.
documentation:
type: string
format: uri
description: Public documentation for the API contract.
issues:
description: Field-specific validation errors, when applicable.
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
additionalProperties: false
required:
- code
- message
- resolution
- documentation
additionalProperties: false
required:
- error
additionalProperties: false
'422':
description: Missing/invalid inputs or unsupported scenario. Correct input before retrying.
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Stable machine-readable error code.
message:
type: string
description: Explanation of why this request failed.
resolution:
type: string
description: Concrete corrective action before retrying.
documentation:
type: string
format: uri
description: Public documentation for the API contract.
issues:
description: Field-specific validation errors, when applicable.
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
additionalProperties: false
required:
- code
- message
- resolution
- documentation
additionalProperties: false
required:
- error
additionalProperties: false
'429':
description: Request rate exceeded. Respect Retry-After.
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
error:
type: object
properties:
code:
type: string
description: Stable machine-readable error code.
message:
type: string
description: Explanation of why this request failed.
resolution:
type: string
description: Concrete corrective action before retrying.
documentation:
type: string
format: uri
description: Public documentation for the API contract.
issues:
description: Field-specific validation errors, when applicable.
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
additionalProperties: false
required:
- code
- message
- resolution
- documentation
additionalProperties: false
required:
- error
additionalProperties: false
headers:
Retry-After:
schema:
type: string
description: Seconds to wait before retrying.
tags:
- Performance
externalDocs:
url: https://riskreward.pro/developers/api
description: RiskReward Pro API documentation, units, examples, and limits.