Expected value & profit factor
API · /tradesetup-api
Trade Setup & R:R Planner API
Live trade-planning analytics built on the geometry of a setup, the numbers a trader checks before pulling the trigger, computed on demand from the entry, stop and target you pass in — no key, no cache, nothing stored. The plan endpoint turns an entry, stop-loss and target into the risk and reward per unit, the reward-to-risk ratio and the break-even win rate — the minimum win rate that makes the trade profitable — and, if you supply an account size and a risk percent, the position size, risk amount and reward amount. The targets endpoint projects target prices at chosen R-multiples of the stop distance, so you can ladder out at 1R, 2R and 3R. The expectancy endpoint turns a reward-to-risk ratio and a win rate into the expected value per trade in R and the profit factor, telling you whether an edge is positive. This is a trade-geometry planner, fundamentally different from account-based position sizers, forward Monte-Carlo simulators and backward trade-journal analyzers: it reasons from the entry, stop and target. Works for any market — forex, stocks, crypto or futures — and for long or short. Computed locally and deterministically, so it is instant and private. Ideal for trade journals, risk checklists, broker tools and trading dashboards. Live, nothing stored. 3 compute endpoints. For Kelly position sizing use a trading-risk API; for a full outcome distribution use a strategy simulator.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 78 ms
- Server probes · 24h
- Subscribers
- 4,232
- active
- Total calls
- 80
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 4,450 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 4,450 calls/month
- 2 req/sec
- Plan + targets + expectancy
- No credit card
Starter
€7.40 /month
- 89,500 calls / month
- 6 requests / second
- Hard cap (429 above quota, no overage)
- 89,500 calls/month
- 6 req/sec
- R:R, break-even win rate, sizing
- Email support
Pro
€21.30 /month
- 462,000 calls / month
- 18 requests / second
- Hard cap (429 above quota, no overage)
- 462,000 calls/month
- 18 req/sec
- Risk checklists & trade pipelines
- Priority support
Business
€47.50 /month
- 2,860,000 calls / month
- 45 requests / second
- Hard cap (429 above quota, no overage)
- 2,860,000 calls/month
- 45 req/sec
- Broker & dashboard scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Strategy Simulator API
Live Monte-Carlo simulation of a trading strategy's outcome that traders run to judge an edge — computed on demand and reproducibly, no key, nothing cached. Run a sequence of trades many times from a win rate, reward-to-risk payoff and risk-per-trade, and get the distribution of final equity, the probability of profit, the probability of ruin and the drawdown distribution; get the modelled chance of blowing up the account; or get the analytical edge — expectancy per trade, breakeven win rate and profit factor. Every run is seeded, so the same inputs always give the same numbers. A strategy-outcome engine, distinct from position-sizing tools and price simulators: it turns an edge into the equity, drawdown and ruin a strategy faces.
api.oanor.com/strategysim-api
Forex Calculator API
Live foreign-exchange trading calculators computed from live ECB reference rates. The pip-value endpoint returns what one pip of a currency pair is worth, in the trader's account currency, for a given lot size. The position-size endpoint returns how many lots to trade to risk a fixed percentage of the account on a given stop-loss. The profit-loss endpoint returns the P&L of a trade from its entry, exit and direction. The margin endpoint returns the margin a position requires at a given leverage. All conversion to the account currency uses live exchange rates. Computed live, nothing stored. Distinct from raw FX-rate feeds — this turns rates into the pip values, position sizes, margins and P&L a trader acts on.
api.oanor.com/fxcalculator-api
Moldova Inflation & CPI API
Official consumer-price inflation for the Republic of Moldova — sourced live from the National Bureau of Statistics of Moldova via its public PxWeb statbank (tables PRE012600, PRE012200 and PRE012800). The cpi endpoint returns the latest reported month with headline year-on-year inflation and the month-on-month price change. The series endpoint returns the monthly history of year-on-year and month-on-month inflation, parameterised by the number of months. The groups endpoint breaks the latest month down across the major divisions — food goods, non-food goods and services — each with its year-on-year rate, showing where price pressure sits. The core endpoint returns Moldova's core-inflation measures, computed by excluding volatile components such as food, energy and regulated prices, each with year-on-year and month-on-month change — the gauges central banks watch for underlying trend. All figures are published directly by the statistics bureau, not modelled, and refreshed from source behind a short server-side cache with keep-warm. Ideal for macro and emerging-market dashboards, CIS and EU-candidate economics trackers, cost-of-living and monetary-policy tools, and fintech needing a clean structured inflation feed for a market the big aggregators rarely cover at monthly resolution. Live keyless upstream. 5 endpoints.
api.oanor.com/moldova-cpi-api
Moldova Foreign Trade API
Official foreign-trade statistics for the Republic of Moldova — exports, imports and the trade balance — sourced live from the National Bureau of Statistics of Moldova via its public PxWeb statbank (table EXT015000), all values in millions of US dollars. The trade endpoint returns the latest reported month with exports, imports, the trade balance and the export-to-import cover ratio. The series endpoint returns the monthly history of exports, imports and balance, parameterised by the number of months. The partners endpoint breaks the latest month down by partner-country group — total, CIS countries, the European Union and the rest of the world — each with its exports, imports and balance, showing where Moldova trades. The annual endpoint returns full-year totals for exports, imports and balance across recent years. Figures are published directly by the statistics bureau, not modelled, and refreshed from source with a short server-side cache and keep-warm. Ideal for macro and trade dashboards, emerging-market and CIS/EU economics trackers, supply-chain and current-account analysis, and fintech needing a clean structured trade feed for a market the big aggregators rarely cover at monthly resolution. Live keyless upstream. 5 endpoints.
api.oanor.com/moldova-trade-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Trade Setup & R:R Planner API?
What's the rate limit for Trade Setup & R:R Planner API?
How much does Trade Setup & R:R Planner API cost?
Can I cancel my subscription anytime?
Is Trade Setup & R:R Planner API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/tradesetup-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/tradesetup-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/tradesetup-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/tradesetup-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.