Skip to content

/api/v1/backtest/summary

GET
/api/v1/backtest/summary
curl --request GET \
--url https://nbaproplab.com/api/v1/backtest/summary \
--header 'Authorization: Bearer <token>' \
--header 'X-API-Key: <X-API-Key>'
from
string
to
string
league
string

OK

object
fromDate
required
string format: date
toDate
required
string format: date
totalPicks
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
hits
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
misses
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
pushes
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
voided
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
hitRate
required
number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
totalProfit
required
number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
roi
required
number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
bestDayProfit
required
number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
bestDayDate
required
null | string format: date
worstDayProfit
required
number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
worstDayDate
required
null | string format: date
avgDailyProfit
required
number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
daysAnalyzed
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Authentication required.

Media type application/problem+json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Insufficient permissions or tier.

Media type application/problem+json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
Example generated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}