Skip to content

Trade duration metrics#

About#

Metrics for each duration of trades

Fields#

Name Type Required Description
won Array<OneTradeDurationMetrics> metrics of winning trades
lost Array<OneTradeDurationMetrics> metrics of losing trades

Example#

{
  "won": [
    {
      "gains": [-0.8, 1, 1.2],
      "profits": [-100, 10],
      "lots": [0.3, 1.1, 1.2, 1.3],
      "durationInMinutes": 25
    }
  ],
  "lost": [
    {
      "gains": [-0.8, 1, 1.2],
      "profits": [-100, 10],
      "lots": [0.3, 1.1, 1.2, 1.3],
      "durationInMinutes": 25
    }
  ]
}

Usages#