/api/backtest/run
POST
/api/backtest/run
const url = 'https://example.com/api/backtest/run';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"rating":"Good","market":"H2H","minEdge":1,"leagueId":1,"dateFrom":"2026-04-15T12:00:00Z","dateTo":"2026-04-15T12:00:00Z"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/backtest/run \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "rating": "Good", "market": "H2H", "minEdge": 1, "leagueId": 1, "dateFrom": "2026-04-15T12:00:00Z", "dateTo": "2026-04-15T12:00:00Z" }'Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
rating
string
market
string
minEdge
number format: double
leagueId
integer format: int32
dateFrom
string format: date-time
dateTo
string format: date-time
object
rating
string
market
string
minEdge
number format: double
leagueId
integer format: int32
dateFrom
string format: date-time
dateTo
string format: date-time
object
rating
string
market
string
minEdge
number format: double
leagueId
integer format: int32
dateFrom
string format: date-time
dateTo
string format: date-time
Responses
Section titled “ Responses ”OK