This skill should be used when building perpetual trading bots, implementing leverage functionality, or adding position management. Covers Avantis integration, long/short positions, and risk controls.
Trade with leverage using Avantis perpetuals on Base.
Avantis offers long/short positions with up to 100x leverage on crypto, forex, and commodities.
Chain: Base
Open positions:
With risk management:
View/close positions:
| Parameter | Description | Example | |-----------|-------------|---------| | Leverage | 1x to 100x (default: 1x) | "5x leverage" | | Collateral | Amount to use | "$100", "0.1 ETH" | | Stop Loss | Auto-close to limit losses | "stop loss at $3000" | | Take Profit | Auto-close to lock gains | "take profit at $4000" |
| Risk Level | Leverage | Use Case | |------------|----------|----------| | Conservative | 1-3x | Long-term views | | Moderate | 3-10x | Swing trading | | Aggressive | 10-25x | Short-term scalps | | High Risk | 25x+ | Experienced only |
| Issue | Resolution | |-------|------------| | Insufficient collateral | Add more funds | | Asset not supported | Check available markets | | Liquidation | Position closed, collateral lost | | High funding rate | Consider shorter hold time |
npx skills add BankrBot/Bankr Dev - Leverage Trading下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Category:stocks-finance