返回接口目录

接口详情

大单成交监控

GET
接口 ID
getmainmonitor-w30-stockyidongkanpan
分组
盘口L2
调用地址
/v1/endpoints/getmainmonitor-w30-stockyidongkanpan/call
可传参数
参数名称说明必填类型示例值
page_offset分页起点分页偏移量。第一页通常为 0,后续页按接口的分页步长递增。string0
trade_side买卖方向买卖方向筛选值,按接口说明传入。string0
amount_filter金额过滤成交金额过滤阈值或档位,按接口说明传入。string2
order排序方向排序方向或排序模式,默认使用示例值。string0
stock_code证券代码股票、指数或板块代码。股票通常为 6 位代码,指数/板块按接口说明传入。string600126

在线测试

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

响应结构

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

HTTP 200 · object
字段路径类型样例值
Is_paraminteger0
Totalinteger56
errcodestring0
ttagnumber0.003635000000000055

调用示例

curl -X POST http://127.0.0.1:8080/v1/endpoints/getmainmonitor-w30-stockyidongkanpan/call \
  -H "X-API-Key: <api_key>" \
  -H "Content-Type: application/json" \
  -d '{"params":{"amount_filter":"2","order":"0","page_offset":"0","stock_code":"600126","trade_side":"0"}}'
import requests

resp = requests.post(
    "http://127.0.0.1:8080/v1/endpoints/getmainmonitor-w30-stockyidongkanpan/call",
    headers={"X-API-Key": "<api_key>"},
    json={"params": {"amount_filter":"2","order":"0","page_offset":"0","stock_code":"600126","trade_side":"0"}},
)
print(resp.status_code)
print(resp.text)
package main

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

func main() {
  body := []byte(`{"params":{"amount_filter":"2","order":"0","page_offset":"0","stock_code":"600126","trade_side":"0"}}`)
  req, _ := http.NewRequest("POST", "http://127.0.0.1:8080/v1/endpoints/getmainmonitor-w30-stockyidongkanpan/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)
}