市场资金数据接口

市场资金数据

资金流向和交易相关接口。

方法端点说明
GET/v1/flow/capital-flow个股资金流向
GET/v1/flow/north-flow北向资金流向
GET/v1/flow/south-flow南向资金流向
GET/v1/flow/margin融资融券数据
GET/v1/flow/dragon-tiger龙虎榜数据

1. 个股资金流向

方法端点
GET/v1/flow/capital-flow

获取个股资金流向数据,包括主力净流入、超大单/大单/中单/小单净流入等。

参数类型必填说明
stock_codestring股票代码 (例: sh.600000)
start_datestring-开始日期 (YYYY-MM-DD)
end_datestring-结束日期 (YYYY-MM-DD)
limitint-返回条数 (默认 100)
GET/v1/flow/capital-flow

2. 北向资金

方法端点
GET/v1/flow/north-flow

获取北向资金(沪港通+深港通)流入流出数据。

参数类型必填说明
start_datestring-开始日期
end_datestring-结束日期
limitint-返回条数 (默认 100)
GET/v1/flow/north-flow

3. 南向资金

方法端点
GET/v1/flow/south-flow

获取南向资金(港股通)流入流出数据。

参数类型必填说明
start_datestring-开始日期
end_datestring-结束日期
limitint-返回条数 (默认 100)
GET/v1/flow/south-flow

4. 融资融券

方法端点
GET/v1/flow/margin

获取融资融券数据。

参数类型必填说明
stock_codestring-股票代码 (可选)
start_datestring-开始日期
end_datestring-结束日期
limitint-返回条数 (默认 100)
GET/v1/flow/margin

5. 龙虎榜

方法端点
GET/v1/flow/dragon-tiger

获取龙虎榜数据,包括上榜原因、买卖金额。

参数类型必填说明
stock_codestring-股票代码 (可选)
trade_datestring-交易日期 (YYYY-MM-DD)
limitint-返回条数 (默认 100)
GET/v1/flow/dragon-tiger