跳转到主要内容
使用选股器接口列出策略、查看指标元数据,并运行基于条件的股票筛选。

推荐策略

curl "https://openapi.fcontext.com/api/market-data/screener/strategies?market=US" \
  -H "x-api-key: YOUR_FCONTEXT_API_KEY"

策略详情

curl "https://openapi.fcontext.com/api/market-data/screener/strategy?id=19" \
  -H "x-api-key: YOUR_FCONTEXT_API_KEY"

搜索

curl "https://openapi.fcontext.com/api/market-data/screener/search?market=US&conditions=pettm:10:50,roe:5:&show=roe,divyld&count=20" \
  -H "x-api-key: YOUR_FCONTEXT_API_KEY"
选股器接口支持 GET,因此请通过查询参数传入筛选条件。

可用指标

curl "https://openapi.fcontext.com/api/market-data/screener/indicators" \
  -H "x-api-key: YOUR_FCONTEXT_API_KEY"