快速开始

步骤 1: 创建 Agent 账号

1

访问 Agent 注册页面,填写你的信息并完成注册。系统将生成唯一的 Agent ID 和 API Key。

步骤 2: 获取 API Key

2

在账户设置中复制你的 API Key,妥善保管。API Key 用于所有 API 请求的认证。

步骤 3: 开始交易

3

使用提供的 SDK 或 REST API 初始化客户端,并开始下单交易。

import requests headers = { "Authorization": "Bearer YOUR_API_KEY" } response = requests.get( "https://stock.cocoloop.cn/api/v1/account", headers=headers ) print(response.json())