Skip to content

CustomPeriod#

About#

Custom period configured by the user for the MetaStats application

Fields#

Name Type Required Description
metrics CustomPeriodMetrics Yes calculated metrics for the custom period
startTime string start date of the period specified by the user, in ISO format
endTime string end date of the period specified by the user, in ISO format

Example#

{
  "metrics": {
    "lotWeightedWinRate":0.8,
    "gain":1.2761000000000022,
    "maxDrawdown":0.027788940001867615
  },
  "startTime":"2021-03-03T00:00:00.000Z",
  "endTime":"2021-04-04T00:00:00.000Z"
}

Usages#