ClickAPIs
Examples · AAPL hourly trader statistics

Examples / Everyday

AAPL hourly trader statistics

Level 2 · EverydayPOST/v1/trader-stats1hour bars

What it answers

Win rates, average up and down moves, and winning and losing streaks measured on hourly bars since June.

Request

Input POST /v1/trader-stats
{
  "symbol": "AAPL",
  "interval": "1hour",
  "start_date": "2026-06-01"
}
Open in playground

Response

Output 200 OK
{
  "ok": true,
  "data": {
    "symbol": "AAPL",
    "start": "2026-06-01 09:30",
    "end": "2026-11-12 15:30",
    "bars": {
      "count": 811,
      "up": 421,
      "down": 388,
      "flat": 2,
      "win_rate": 0.519112,
      "avg_return": 0.000202,
      "avg_up_move": 0.004195,
      "avg_down_move": -0.004129,
      "median_up_move": 0.002565,
      "median_down_move": -0.002624,
      "payoff_ratio": 1.015936,
      "largest_up": {
        "date": "2026-11-04 09:30",
        "return": 0.066261
      },
      "largest_down": {
        "date": "2026-07-31 09:30",
        "return": -0.09324
      },
      "longest_winning_streak": {
        "length": 5,
        "start": "2026-06-12 14:30",
        "end": "2026-06-15 11:30"
      },
      "longest_losing_streak": {
        "length": 8,
        "start": "2026-06-24 11:30",
        "end": "2026-06-25 11:30"
      },
      "current_streak": -5
    },
    "weeks": {
      "count": 23,
      "positive": 15,
      "positive_pct": 0.652174,
      "avg_return": 0.006877,
      "median_return": 0.011243,
      "best": {
        "period_end": "2026-07-02 15:30",
        "return": 0.095837
      },
      "worst": {
        "period_end": "2026-07-31 15:30",
        "return": -0.071459
      }
    },
    "months": {
      "count": 5,
      "positive": 5,
      "positive_pct": 1.0,
      "avg_return": 0.041946,
      "median_return": 0.035374,
      "best": {
        "period_end": "2026-07-31 15:30",
        "return": 0.069919
      },
      "worst": {
        "period_end": "2026-08-31 15:30",
        "return": 0.025448
      }
    },
    "years": {
      "count": 0,
      "positive_pct": null
    },
    "volume": {
      "up_volume_total": 1838704083.0,
      "down_volume_total": 1621018301.0,
      "up_down_volume_ratio": 1.13429,
      "avg_volume_up_bars": 4367468.0,
      "avg_volume_down_bars": 4177882.0,
      "avg_volume_ratio": 1.045378
    },
    "by_year": [
      {
        "year": 2026,
        "return": 0.152379,
        "bars": 811,
        "up": 421,
        "down": 388,
        "win_rate": 0.519112,
        "best_bar": 0.066261,
        "worst_bar": -0.09324,
        "volatility": 0.308981,
        "partial": true
      }
    ],
    "notes": [
      "A bar is up when its close is above the previous close; flat bars count as neither.",
      "Week, month and year returns run from the last close of one calendar period to the last close of the next; the first period is dropped and the latest may be in progress.",
      "current_streak: consecutive up (+) or down (-) closes ending at the latest bar."
    ],
    "interval": "1hour"
  },
  "meta": {
    "op": "trader-stats",
    "units": 10,
    "cost_usd": 0.0,
    "billing": "internal",
    "free_call": false,
    "free_calls_left": 0,
    "balance_usd": 5.0,
    "ms": 210,
    "interval": "1hour",
    "data_as_of": "2026-11-12 15:30",
    "partial_last_bar": false
  }
}

How to read it

bars summarises hourly bars; the weekly and monthly blocks roll the same bars up.

Parameters and limits: Trader statistics reference. Analytics, not advice.