| 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
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
#
npm install @aiagenta2z/onekey-gateway
#
npx onekey agent aiagenta2z/financeagent get_uk_stock_market_lse '{"symbol_list": ["SHEL", "ULVR"]}'
HTTP (curl) Usage
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"]
}
}'