Trade Stats API
Live trading-performance analytics that traders run on a list of realised trade results, computed on demand from the profit-and-loss series you pass in — no key, no cache, nothing stored. The analyze endpoint returns the full performance scorecard: number of wins and losses, win rate, gross profit and loss, profit factor, expectancy, average win and loss, payoff ratio, and the largest win and loss — the numbers a trader pulls from a trade journal to judge a strategy. The equity endpoint builds the equity curve from a starting balance and returns the running balance after every trade, the peak, the maximum drawdown in money and percent, and the total return. The streaks endpoint returns the longest winning and losing runs and the current streak. This is a backward-looking trade-journal analyzer — it scores actual results, which is fundamentally different from forward Monte-Carlo simulators and position sizers that work from assumptions. Each value you pass is one closed trade's profit (positive) or loss (negative). Works for any market or strategy — stocks, forex, crypto or futures. Computed locally and deterministically, so it is instant and private. Ideal for trade journals, strategy dashboards, back-test scorecards and broker reports. Live, nothing stored. 3 compute endpoints. For forward simulation of an edge use a strategy-simulator API; for position sizing use a trading-risk API.
api.oanor.com/tradestats-api