backtestport
v0.1.0Backtesting engine client: indicators, strategy validation, backtests, signals and market data.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
engine_info
Engine version, API contract, health.
get_me
What the configured key can do: permission scopes, limits, current usage, capability flags.
get_catalog
Reference catalogs: operators, execution modes, stop types, sizing methods, bar frequencies, metric sections.
| Parameter | Type | Description |
|---|---|---|
catalog | string | Catalog name to retrieve. |
list_indicators
Indicator discovery; per-indicator parameter schemas.
| Parameter | Type | Description |
|---|---|---|
search | string | Search text filter (optional). |
list_templates
Predesigned strategy templates — discover compactly, fetch one in full, ready to validate and run.
| Parameter | Type | Description |
|---|---|---|
id | string | Identifier of the record to operate on. |
get_strategy_schema
JSON Schema for strategy documents.
validate_strategy
Validate a strategy without running it — returns structured, locatable errors.
| Parameter | Type | Description |
|---|---|---|
strategy * | object | string | Strategy definition, as an object or a JSON string. |
run_backtest
Run a backtest of a strategy over historical data for the given symbol and date range.
| Parameter | Type | Description |
|---|---|---|
strategy * | object | string | Strategy definition, as an object or a JSON string. |
data | object | Data payload for this call. |
end | string | End date for the range (ISO 8601). |
include | array | Sections to include in the response (optional). |
max_series_points | integer | Maximum number of series points to return (optional). |
response_detail | string | Level of detail for the response (optional). |
start | string | Start date for the range (ISO 8601). |
symbol | string | Ticker symbol, e.g. AAPL. |
get_latest_signal
Evaluate the most recent bar only (no P&L).
| Parameter | Type | Description |
|---|---|---|
strategy * | object | string | Strategy definition, as an object or a JSON string. |
symbol | string | Ticker symbol, e.g. AAPL. |
compare_backtests
Run several strategies on the same data, side by side.
| Parameter | Type | Description |
|---|---|---|
strategies * | array | Strategy definitions or identifiers to compare. |
include | array | Sections to include in the response (optional). |
max_series_points | integer | Maximum number of series points to return (optional). |
response_detail | string | Level of detail for the response (optional). |
compute_stats
Compute the metric set from an externally produced returns series.
| Parameter | Type | Description |
|---|---|---|
returns * | array | Series of returns values. |
search_tickers
Search the fetchable symbol universe.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query text. |
list_tickers
List the fetchable symbol universe.
get_data_range
Available history and bar-count estimate for a symbol.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker symbol, e.g. AAPL. |
get_ticker_info
Symbol identity and data coverage in a single call.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker symbol, e.g. AAPL. |
get_quote
Latest available price for a symbol.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker symbol, e.g. AAPL. |
get_price_history
OHLCV price history over a date range.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker symbol, e.g. AAPL. |
end | string | End date for the range (ISO 8601). |
frequency | string | Bar frequency, e.g. daily or weekly. |
start | string | Start date for the range (ISO 8601). |
list_macro_series
List the macroeconomic series catalog.
get_macro_series
Fetch one macro series' observations.
| Parameter | Type | Description |
|---|---|---|
series * | string | Series identifier. |
end | string | End date for the range (ISO 8601). |
start | string | Start date for the range (ISO 8601). |