Get UK (London Stock Exchange, LSE) market data via FinanceAgent on OneKey Gateway.
Get UK (London Stock Exchange, LSE) market data via FinanceAgent on OneKey Gateway.
Use one access key to connect to various commercial APIs via the DeepNLP OneKey Agent Router.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: uk-stock-market-lse
description: Get UK (London Stock Exchange, LSE) market data via FinanceAgent on OneKey Gateway.
env:
DEEPNLP_ONEKEY_ROUTER_ACCESS:
required: true
description: OneKey Gateway API key
dependencies:
npm:
- "@aiagenta2z/onekey-gateway"
installation:
npm: npm -g install @aiagenta2z/onekey-gateway
---
# OneKey Gateway
Use one access key to connect to various commercial APIs via the DeepNLP OneKey Agent Router.
## Quick Start
### Set your OneKey Access Key
```shell
export DEEPNLP_ONEKEY_ROUTER_ACCESS=your_access_key
```
Common settings:
- `unique_id`: `aiagenta2z/financeagent`
- `api_id`: `get_uk_stock_market_lse`
## Tool
### `get_uk_stock_market_lse`
Get UK stock market data from the London Stock Exchange (LSE).
Parameters:
- `symbol_list` (array of string, required): Stock symbols to query.
- Use LSE tickers, e.g. `"SHEL"`, `"ULVR"`.
- Example: `["SHEL", "ULVR"]`
Response (JSON):
- `success` (boolean): Whether the request succeeded.
- `data` (array): List of stock quote objects (fields depend on the upstream data source).
- `message` (string, optional): Error message when `success=false`.
# Usage
## CLI Usage
```shell
## install onekey agent gateway
npm install @aiagenta2z/onekey-gateway
## CLI to Call API and Symbol List
npx onekey agent aiagenta2z/financeagent get_uk_stock_market_lse '{"symbol_list": ["SHEL", "ULVR"]}'
```
## HTTP (curl) Usage
```shell
export DEEPNLP_ONEKEY_ROUTER_ACCESS=your_access_key
curl -v -X POST "https://agent.deepnlp.org/agent_router" \
-H "Content-Type: application/json" \
-H "X-OneKey: $DEEPNLP_ONEKEY_ROUTER_ACCESS" \
-d '{
"unique_id": "aiagenta2z/financeagent",
"api_id": "get_uk_stock_market_lse",
"data": {
"symbol_list": ["SHEL", "ULVR"]
}
}'
```
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。