来源信息
- 仓库
- alsk1992/CloddsBot
- 最近来源活动
- 2026年8月30日 22:17
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 2,972
- 分支
- 359
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
2 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- lighter
- description
- Lighter — Orderbook DEX on Arbitrum
- emoji
- ⚡
- commands
- ["/lighter"]
- gates
- {"envs":["EVM_PRIVATE_KEY"]}
# Lighter
On-chain orderbook DEX on Arbitrum. Trade perpetual futures with deep liquidity and low fees.
## Quick Start
```bash
# Set credentials
export EVM_PRIVATE_KEY="0x..."
# Check markets
/lighter markets
# Get price
/lighter price ETH-USD
# Open positions
/lighter long ETH-USD 1
/lighter short BTC-USD 0.1 45000
```
## Commands
### Market Data
| Command | Description |
|---------|-------------|
| `/lighter markets` | List available markets |
| `/lighter price <market>` | Get current price |
| `/lighter book <market>` | Show orderbook depth |
### Account
| Command | Description |
|---------|-------------|
| `/lighter balance` | Show balances |
| `/lighter positions` | Show open positions |
| `/lighter orders` | List open orders |
### Trading
| Command | Description |
|---------|-------------|
| `/lighter long <market> <size> [price]` | Open long position |
| `/lighter short <market> <size> [price]` | Open short position |
| `/lighter close <market>` | Close position |
| `/lighter closeall` | Close all positions |
| `/lighter cancel <orderId>` | Cancel order |
| `/lighter cancelall` | Cancel all orders |
**Examples:**
```bash
/lighter long ETH-USD 1 # Market long 1 ETH
/lighter long ETH-USD 1 3000 # Limit long at $3,000
/lighter short BTC-USD 0.1 # Market short 0.1 BTC
/lighter close ETH-USD # Close ETH position
```
## Configuration
```bash
# Required
export EVM_PRIVATE_KEY="0x..."
# Optional
export DRY_RUN=true
```
## Resources
- [Lighter App](https://app.lighter.xyz)
- [Lighter Docs](https://docs.lighter.xyz)
在 GitHub 查看