返回接口目录

接口详情

大单委托监控

GET
接口 ID
getweituo-w14-stockl2data
分组
盘口L2
调用地址
/v1/endpoints/getweituo-w14-stockl2data/call
可传参数
参数名称说明必填类型示例值
stock_code证券代码股票、指数或板块代码。股票通常为 6 位代码,指数/板块按接口说明传入。string000001
turnover_filter换手过滤换手率过滤阈值或档位,按接口说明传入。string30
type类型接口业务类型或分类值。不同接口含义不同,默认使用示例值。string2
volume_order成交量排序成交量排序方式,默认使用示例值。string0
volume_type成交量类型成交量筛选类型,默认使用示例值。string1
volume_filter成交量过滤成交量过滤阈值或档位,按接口说明传入。string500

在线测试

在线测试需要登录,会使用控制台中的默认 API Key 并计入用量。

响应结构

基于最近一次接口体检样本自动生成,仅展示主要字段。

HTTP 200 · object
字段路径类型样例值
Countinteger3676
Titlestring
endinteger3675
errcodestring0
startinteger676
totalinteger3000
ttagnumber0.0048789999999999945

调用示例

curl -X POST http://127.0.0.1:8080/v1/endpoints/getweituo-w14-stockl2data/call \
  -H "X-API-Key: <api_key>" \
  -H "Content-Type: application/json" \
  -d '{"params":{"stock_code":"000001","turnover_filter":"30","type":"2","volume_filter":"500","volume_order":"0","volume_type":"1"}}'
import requests

resp = requests.post(
    "http://127.0.0.1:8080/v1/endpoints/getweituo-w14-stockl2data/call",
    headers={"X-API-Key": "<api_key>"},
    json={"params": {"stock_code":"000001","turnover_filter":"30","type":"2","volume_filter":"500","volume_order":"0","volume_type":"1"}},
)
print(resp.status_code)
print(resp.text)
package main

import (
  "bytes"
  "fmt"
  "net/http"
)

func main() {
  body := []byte(`{"params":{"stock_code":"000001","turnover_filter":"30","type":"2","volume_filter":"500","volume_order":"0","volume_type":"1"}}`)
  req, _ := http.NewRequest("POST", "http://127.0.0.1:8080/v1/endpoints/getweituo-w14-stockl2data/call", bytes.NewReader(body))
  req.Header.Set("X-API-Key", "<api_key>")
  req.Header.Set("Content-Type", "application/json")
  resp, err := http.DefaultClient.Do(req)
  fmt.Println(resp.StatusCode, err)
}