360 Secure SkillHub
360 安全技能中心

optimal-order-routing

该 Skill 通过 x402 付费请求 APEX Runner 信号接口,返回推荐的交易所、订单类型与预估成本,用于选择低成本执行路径;需要 EVM 私钥和 Base 主网 USDC,且不代用户执行交易。

分类:数据
kynto2001-ctrl
kynto2001-ctrl
热度 13.47
最近更新 2026-11-13 08:01:02

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add kynto2001-ctrl/optimal-order-routing
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
optimal-order-routing
description
Paid x402 endpoint: $0.007 USDC per call on Base. Returns recommends best exchange and order type for minimum cost execution.
metadata
{"openclaw":{"requires":{"env":["EVM_PRIVATE_KEY"]},"primaryEnv":"EVM_PRIVATE_KEY","homepage":"https://apexrunner.ai/signals/optimal-order-routing","emoji":"🔧"}}

optimal-order-routing

What It Does

Recommends best exchange and order type for minimum cost execution. Computed by APEX Runner from live market data, not from backtests.

When to Use

  • To choose between Kraken, Coinbase, and Hyperliquid
  • Before any order exceeding $100
  • When minimising execution cost matters

How to Use

The agent makes an x402-authenticated GET request to:

https://apexrunner.ai/signals/optimal-order-routing

The x402 client handles payment automatically. No API key, no account, no subscription — just an EVM wallet with USDC on Base mainnet (no ETH needed).

# pip install "x402[evm,requests]"
import os

import requests
from eth_account import Account
from x402 import max_amount, x402ClientSync
from x402.http.clients import wrapRequestsWithPayment
from x402.mechanisms.evm.exact import register_exact_evm_client
from x402.mechanisms.evm.signers import EthAccountSigner

client = x402ClientSync()
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
client.register_policy(max_amount(10000))  # never sign more than the list price ($0.01 USDC)

session = wrapRequestsWithPayment(requests.Session(), client)
response = session.get("https://apexrunner.ai/signals/optimal-order-routing")
print(response.json())

Example Response

{
  "order": {"coin": "BTC", "size_usd": 500, "side": "buy"},
  "recommendation": {
    "exchange": "Kraken",
    "order_type": "limit",
    "estimated_total_cost_pct": 0.18
  },
  "timestamp": "2026-06-23T14:00:00Z"
}

Pricing

$0.01/call — standard price

Every caller is charged $0.007/call until 2027-01-01 under the early-adopter discount (30% off the standard price). No tier, no wallet history, no enrolment — that is simply the price.

Related Signals


APEX Runner — autonomous AI crypto trading signals. apexrunner.ai