---
title: "POST /app/backtests/"
method: POST
path: "/app/backtests/"
tags: ["app"]
---

# POST /app/backtests/

`POST /app/backtests/`

A simple ViewSet for viewing and editing Backtests.

## Request body

- BacktestCreateRequest
  - `start_date` string, date, required
  - `end_date` string, date, required
  - `substitutions` BacktestSubstitutionMultiRequest[], required
    - `new_plan` string, uuid, required
    - `original_plans` string[], required
  - `kpis` string[], required
  - `backtest_name` string, required

## Response `201`

- BacktestCreate
  - `start_date` string, date, required
  - `end_date` string, date, required
  - `kpis` string[], required
  - `backtest_name` string, required

## Changes

- **2023-01-16** `36b48cae00a3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/uselotus/apis/lotus-api/changes/app/backtests/post.md)

---

[API](https://skmtc.dev/uselotus/apis/lotus-api.md) · [All operations](https://skmtc.dev/uselotus/apis/lotus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uselotus/lotus-api/revisions/36b48cae00a3/schema)
