# 资金流向 (分时)

`WS` `request · cmd 24`

> **行情权限要求 · 免费**
> 开通 OpenAPI 后自动获得，无需额外购买。
> _OpenAPI 行情权限独立于 App/Web 行情权限_

该接口用于获取标的当日的资金流向。

```protobuf
message CapitalFlowIntradayRequest {
  string symbol = 1;
}

message CapitalFlowIntradayResponse {
  string symbol = 1;
  repeated CapitalFlowLine capital_flow_lines = 2;
}
```

## Request Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `symbol` | string | Yes | 标的代码，使用 ticker.region 格式，例如：700.HK |

## Response Fields

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `symbol` | string | No | 标的代码 |
| `capital_flow_lines` | object[] | No | 资金流向数据 |
| `└ inflow` | string | No | 净流入 |
| `└ timestamp` | int64 | No | 分钟开始时间戳 |

## Response JSON Example

```json
{
  "symbol": "700.HK",
  "capital_flow_lines": [
    {
      "inflow": "-310255860.000",
      "timestamp": "1655106960"
    }
  ]
}
```
