---
title: "长桥 skill 使用初体验，很 Cool"
type: "Topics"
locale: "zh-HK"
url: "https://longbridge.com/zh-HK/topics/39679744.md"
description: "我采用 openclaw 的方式使用长桥的 skill，安装顺利，可以在及时通讯工具、openclaw 的 web 页面，linux 操作系统的命令行使用，初体验还不错。Openclaw 可以使用阿里云的无影或者轻量级虚拟机，跟自己的 pc 隔离，安全性比较好。买国外的区域应该可以直接解决访问长桥 api 的问题。否则就只能买个多端（比如支持 linux）的梯子。把指令发明白..."
datetime: "2026-04-01T16:16:16.000Z"
locales:
  - [en](https://longbridge.com/en/topics/39679744.md)
  - [zh-CN](https://longbridge.com/zh-CN/topics/39679744.md)
  - [zh-HK](https://longbridge.com/zh-HK/topics/39679744.md)
author: "[不奋东西](https://longbridge.com/zh-HK/profiles/14442740.md)"
---

> 支持的語言: [English](https://longbridge.com/en/topics/39679744.md) | [简体中文](https://longbridge.com/zh-CN/topics/39679744.md)


# 长桥 skill 使用初体验，很 Cool

I'm running Longbridge's Skill through **OpenClaw**, and the installation went without a hitch. It works across multiple surfaces — instant messaging clients, OpenClaw's web interface, and the Linux command line — making for a pretty seamless first experience.

OpenClaw plays nicely with **Alibaba Cloud's Wuying** (cloud PC) or a lightweight VM instance, keeping everything sandboxed from your local machine — a solid security win. Spinning up a server in an overseas region should resolve Longbridge API access out of the box. If not, you'll need a cross-platform proxy solution with Linux support to bridge the gap.

Get your prompts right, and OpenClaw will handle the rest — configuration included.

**Skill: Setup & Usage Guide**

To install the Skill, just send the following prompt to any AI and it'll walk you through the setup:

_"Follow the guide to install Longbridge SKILL:_ [_https://open.longbridge.com/skill/install.md_](https://open.longbridge.com/skill/install.md)_"_

For a full breakdown of Skill capabilities, visit the official docs: [https://open.longbridge.com/zh-CN/skill/](https://open.longbridge.com/zh-CN/skill/)

While drafting this post, I got to thinking — could the trading approach that @浙江忧郁二代 uses be systematized? Running it through a Skill agent seems like it could improve the hit rate.

One thing worth keeping in mind: the agent is a tool for executing and dispatching instructions, and for surfacing information to support better decision-making. The quality of the information you get depends entirely on how well you ask. It won't hand you alpha directly — building and refining your own trading framework is still on you.

## **1、Combo Order Instructions — Surprisingly Convenient**

With SNDK trading around $668, I closed out my **Apr 17, 2026 $670 Call**, sold 50 shares, and then — couldn't help myself — sold a **Apr 17, 2026 $750 Call**. To manage the risk of holding insufficient shares, I issued the following instruction:

"When SNDK hits $743, close the Apr 17, 2026 $750 Call position. Then wait for the stock to rally and pull back 1% before selling 50 shares."

## ✅SNDK Conditional Trade Monitor — Active!

### 📊 Current Positions

Ticker

Qty

Cost Basis

Current Price

Distance to Target

**$Sandisk(SNDK.US) (SNDK.US)**

50 shares1

$-243.16

$696.73

+$46.27 (+6.64%)

**SNDK260417C750000.US**

\-1 (short)

$28.90

\-

\-

### 🎯 Strategy Logic

┌───────────────────────────────────────────────────────────┐ │ SNDK Price Monitor (checks every 30 sec) │ └─────────────────────────────────────────────────────────────┘ │ ▼ ┌─────────────────────────┐ │ Price ≥ $743.00 ?│ └─────────────────────────┘ │ │ Yes No │ │ ▼ │ ┌─────────────┐ │ │ Buy 1 Call t Close Position │ │ │ (SNDK260417C750000)│ │ └──────────────────┘ │ │ │ ▼ │ ┌──────────────────┐ │ │ Record the Highest Price │ │ └──────────────────┘ │ │ │ ▼ │ ┌──────────────┐ │ │ Pullback ≥ 1% from High? │◄────┘ └──────────────────┘ │ Yes │ ▼ ┌──────────────────┐ │ Sell 50 Shares │ │ (limit at 99% of market price) │ └──────────────────┘

### 📁 Management Commands

\# Check monitor status  
bash /root/.openclaw/workspace/scripts/sndk\_monitor\_status.sh  
\# View live logs  
tail -f /root/.openclaw/workspace/logs/sndk\_trade.log  
\# Stop monitor  
bash /root/.openclaw/workspace/scripts/sndk\_monitor\_stop.sh  
\# Restart monitor  
bash /root/.openclaw/workspace/scripts/sndk\_monitor\_start.sh

📝 **Log Locations**

Trade log: `/root/.openclaw/workspace/logs/sndk_trade.log`

Strategy doc: `/root/.openclaw/workspace/strategies/SNDK_策略说明.md`

⚠️ **Important Notes**

-   Monitor running in background (PID: 576014)
-   US market hours: 21:30 – 04:00 (Beijing Time)
-   Option expiry: 2026-04-17 (16 days remaining)
-   Current price: $696.73 — 6.64% away from target $743

_Need help adjusting strategy parameters or adding new features?_ 🚀

I then added a stop-loss layer with the following instruction: _"Monitor SNDK's price. If it touches $710 and pulls back 3%, or drops directly below $678, immediately execute: buy back (close) 1 × Apr 17 $750 Call at market price, and sell (liquidate) the remaining 50 shares of SNDK at market."_

## ✅ SNDK Conditional Trade Strategy v2 — Active!

### 📊 Current Positions

Ticker

Qty

Cost Basis

Current Price

**$$Sandisk(SNDK.US) (SNDK.US)**

50 shares

$-243.16

~$697.50

**SNDK260417C750000.US**

\-1 (short)

$28.90

\-

### 🎯 Strategy Configuration

Strategy

Trigger

Action

**🎯 Target**

Price ≥ $743

Close option → wait for 1% pullback → sell shares

**🛑 Stop-Loss A**

Touches $710, then pulls back 3%

**Immediately** close all (option + shares)

**🛑 Stop-Loss B**

Drops directly below $678

**Immediately** close all (option + shares)

### 📍 Current Price Positioning

$743 ──────────────────────────── 🎯 Target (+6.5%)  
$710 ────────────────────────── 🛑 Stop-Loss A (+1.8%)  
$697.50 ─────────────────────────── 💰 Current Price  
$678 ────────────────────────── 🛑 Stop-Loss B (-2.8%)

### 🚀 Monitor Status

Status: ✅ Running (PID: 576137)

Check interval: every 15 seconds

Log file: `/root/.openclaw/workspace/logs/sndk_trade_v2.log`

### 📁 Management Commands

\# Check monitor status  
bash /root/.openclaw/workspace/scripts/sndk\_monitor\_status\_v2.sh  
\# View live logs  
tail -f /root/.openclaw/workspace/logs/sndk\_trade\_v2.log  
\# Stop monitor  
bash /root/.openclaw/workspace/scripts/sndk\_monitor\_stop.sh  
\# Restart monitor  
bash /root/.openclaw/workspace/scripts/sndk\_monitor\_start\_v2.sh

### 📝 Strategy Doc

**Full details**: /root/.openclaw/workspace/strategies/SNDK\_策略说明\_v2.md

⚠️ **Important Notes**

-   Monitor running in background — price checked every 15 seconds
-   Stop-loss is highest priority — all positions closed immediately upon trigger
-   Option expiry: 2026-04-17 (16 days remaining)
-   US market hours: 21:30 – 04:00 (Beijing Time)

_Strategy active — good luck with the trades!_ 🚀📈

I wanted to make sure it hadn't misunderstood my intent — specifically that the option close would use a market order, not a limit order. Ran a quick code check, and confirmed it's using market orders as intended.

Also verified via OS process list that the monitoring script is indeed running in the background. Now it's just a matter of seeing how it performs when the triggers fire.

## **2、Pulling Monthly & Annual Account Statements**

**You can retrieve account statements either through the agent's chat interface or directly via the CLI. Screenshots below.**

## **3、One Limitation: No Real-Time Options Quotes**

With the recent market volatility eating into my options positions pretty hard, I wanted a clearer picture of my monthly P&L. I sent the following instruction: _"Break down my Longbridge US options positions by month — include cost basis, current market value, and P&L."_

The position data came back correctly, but there's a catch: **no real-time quotes**, which means P&L can't be calculated on the fly. Hoping Longbridge can address this in a future update.

### 相關股票

- [Sandisk (SNDK.US)](https://longbridge.com/zh-HK/quote/SNDK.US.md)

## 評論 (43)

- **Yonny2828 · 2026-04-02T15:40:54.000Z**: Excellent
- **塔可 · 2026-04-02T15:31:39.000Z**: It's not that there's no real-time market data, it's that you have to purchase it. 198 per year, market data store ke.
  - **不奋东西** (2026-04-02T16:31:51.000Z): There are stocks, but no options.
  - **塔可** (2026-04-02T16:33:00.000Z): There are also options, just go and top up.
- **把酒祝东风 · 2026-04-02T15:25:31.000Z**: Bookmark it
- **X(今年先挣一个亿) · 2026-04-02T15:24:44.000Z**: I wrote a program myself.
  - **X(今年先挣一个亿)** (2026-04-02T15:25:54.000Z): .
  - **我不是韭菜_666** (2026-04-02T15:42:00.000Z): Where does the stock price data come from?
  - **mos** (2026-04-02T16:00:54.000Z): Boss, what is this robot software?
- **幾時得閒執翻濟 · 2026-04-02T15:24:05.000Z**: Mainly because I can't afford the token consumption.
  - **不奋东西** (2026-04-02T15:27:39.000Z): Alibaba's code plan lite is 40 yuan per month, pro is 200 per month, the price is acceptable. The cost of investment always has to be spent.
- **卖飞的小韭菜 · 2026-04-02T15:23:45.000Z**: How to solve the OAuth authorization issue on a Linux server?
  - **卖飞的小韭菜** (2026-04-02T15:24:07.000Z): @LongbridgeAI take a look
  - **LongbridgeAI** (2026-04-02T15:24:07.000Z): From the content you described, you have skillfully used Openclaw in combination with the Longbridge Skill to achieve automated trading management, including conditional trade monitoring, profit-takin
  - **不奋东西** (2026-04-02T15:26:45.000Z): Set the Ak token as an environment variable or hand it over to AI, and it will help you solve it.
- **小枫叶 · 2026-04-02T15:22:28.000Z · 👍 2**: Do you really dare to let an LLM do live automated trading?🥲
  - **卖飞的小韭菜** (2026-04-02T15:36:53.000Z): You can try a simulated account first.
  - **不奋东西** (2026-04-02T16:20:46.000Z): It's not much different from trading directly with you. Even faster!
  - **小枫叶** (2026-04-02T16:44:10.000Z): You need to know that LLMs can hallucinate..
- **LongbridgeAI · 2026-04-02T09:34:20.000Z · 👍 1**: Thanks for your enthusiastic sharing, boss. This kind of case study based on real scenarios is very valuable for reference. It's not just a feature showcase, but also about solving specific problems. 👍Meanwhile, our homepage is also collecting excellent cases from everyone with rewards. Welcome to 
- **golion · 2026-04-02T08:58:05.000Z**: Is this a direct operation by claw, or just portfolio statistics and analysis?
  - **不奋东西** (2026-04-02T09:32:32.000Z): Directly operate, the function is shown in the first image of the article.
- **旺旺勇闯美股 · 2026-04-02T05:59:22.000Z · 👍 1**: Where can I download this skill?
  - **不奋东西** (2026-04-02T06:10:16.000Z): Copy the following sentence and send it to any AI (Claude, ChatGPT, etc.), and it will guide you through the Skill installation:“Install Longbridge SKILL according to the guide: https://open.longbridg
  - **旺旺勇闯美股** (2026-04-02T06:14:48.000Z): Thanks, boss. I'll give it a try.
- **看空不做空—蓝迪 · 2026-04-02T02:05:18.000Z · 👍 1**: Real money trading?
  - **不奋东西** (2026-04-02T02:06:38.000Z): Right.
- **炒美股养家666 · 2026-04-01T16:46:04.000Z**: Is it not possible without a ladder?
  - **不奋东西** (2026-04-01T16:47:04.000Z): No.
  - **炒美股养家666** (2026-04-01T16:48:36.000Z): No wonder I don't have a VPN, the skill was installed last night, but I couldn't get the web verification to work afterwards. May I ask if turning on the VPN will solve it?
  - **不奋东西** (2026-04-01T16:53:44.000Z): Yes, with a VPN there's definitely no problem.If the network is connected, you can put the key token in an environment variable or tell the AI, and it can help you set up local authentication, no brow
