Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bankrbot avatar

Bankr Dev Leverage Trading

  • 354 installs
  • 80 repo stars
  • Updated March 24, 2026
  • bankrbot/claude-plugins

bankr dev - leverage trading is a Claude plugin skill that guides Avantis perpetuals integration on Base for developers who need margin parameters, liquidation awareness, and position management in trading bots.

About

bankr dev - leverage trading is a version 1.0.0 Claude plugin skill from bankrbot/claude-plugins for building leveraged perpetuals integrations on Base through Avantis. The skill helps developers open, manage, and close long and short positions across crypto, forex, and commodities markets with leverage up to 50x on crypto and 100x on forex and commodities, plus stop loss and take profit configuration. It validates asset, leverage, collateral, and risk parameters, explains liquidation mechanics, and provides checklist-style execution guidance for CLI harnesses that build unsigned trade calldata or chat surfaces that deep-link to the Avantis UI. Developers reach for bankr dev - leverage trading when integrating Bankr agent or dev plugins, wiring margin and liquidation safeguards, or troubleshooting insufficient collateral, funding rates, and position index resolution. The skill sits in the bankr-agent-dev toolkit alongside broader API reference and code-generation workflows for crypto trading bots.

  • Margin and leverage configuration
  • Position open, adjust, close flows
  • Liquidation risk awareness
  • Exchange-specific API wiring
  • Dev-focused risk parameter tuning

Bankr Dev Leverage Trading by the numbers

  • 354 all-time installs (skills.sh)
  • Ranked #319 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Data as of Jul 31, 2026 (Skillselion catalog sync)
npx skills add https://github.com/bankrbot/claude-plugins --skill bankr-dev---leverage-trading

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs354
repo stars80
Last updatedMarch 24, 2026
Repositorybankrbot/claude-plugins

How do you integrate leveraged perpetual trading with Bankr?

Build developer integrations for leveraged positions including margin params, liquidation awareness, and position management via Bankr.

Who is it for?

Backend and Web3 developers building Bankr-powered trading bots or SDK integrations that open and manage Avantis perpetual positions on Base.

Skip if: Developers who only need spot token swaps or portfolio balances without leverage should use other Bankr trading skills instead of this perpetuals-focused guide.

When should I use this skill?

User asks about leverage trading, long or short positions, Avantis perpetuals, stop loss, take profit, liquidation, or margin params in a Bankr dev integration.

What you get

Validated trade parameter checklists, example position orders, liquidation risk notes, and Avantis calldata or UI routing guidance for leveraged positions.

  • Validated trade parameter checklist
  • Position management integration guidance
  • Liquidation and risk-management notes

By the numbers

  • Skill version 1.0.0 in bankrbot/claude-plugins
  • Documents up to 50x crypto and 100x forex or commodities leverage on Avantis perpetuals

Files

SKILL.mdMarkdownGitHub ↗

Safety & Access Control

Comprehensive safety guidance for using the Bankr API and CLI.

API Key Types

Bankr uses a single key format (bk_...) with capability flags:

FlagControlsDefault
agentApiEnabled/agent/* endpointsfalse
llmGatewayEnabledLLM Gateway at llm.bankr.botfalse
readOnlyRestricts agent to read-only toolsfalse

Manage flags at bankr.bot/api.

Read-Only API Keys

When readOnly: true, all write tools are filtered from the agent session:

Allowed: Balances, prices, analytics, portfolio, research Blocked: Swaps, transfers, NFT purchases, staking, orders, token launches, leverage, Polymarket bets, claims

The /agent/sign and /agent/submit endpoints return 403 for read-only keys.

IP Whitelisting

Set allowedIps on your API key to restrict usage to specific IPs. Requests from non-whitelisted IPs are rejected with 403.

  • Empty array = all IPs allowed (default)
  • Non-empty array = only listed IPs can use the key

Dedicated Agent Wallet

When building autonomous agents, create a separate Bankr account rather than using your personal wallet:

  • Limited exposure — compromised key only exposes agent wallet funds
  • Clear accounting — agent transactions isolated from personal activity
  • Independent controls — apply stricter access controls without affecting personal use
  • Easy revocation — disable agent account without disrupting primary wallet

Recommended Funding

ChainGas BufferTrading Capital
Base0.01-0.05 ETHAs needed
Polygon5-10 MATICAs needed
Ethereum0.05-0.1 ETHAs needed
Solana0.1-0.5 SOLAs needed

Rate Limits

TierDaily Limit
Standard100 messages/day
Bankr Club1,000 messages/day
CustomSet per API key

Reset window is 24 hours from first message (rolling), not midnight.

Key Management

  • Store keys in environment variables (BANKR_API_KEY, BANKR_LLM_KEY), never in source code
  • Add ~/.bankr/ and .env to .gitignore
  • Rotate keys periodically at bankr.bot/api
  • Revoke immediately if compromised
  • Use separate keys for Agent API vs LLM Gateway if needed

Transaction Safety

  • Test first — small amounts on Base/Polygon before scaling
  • Verify recipients — double-check addresses before transfers
  • Gas buffer — keep enough native tokens for gas
  • Immediate execution/agent/submit executes with no confirmation prompt
  • Understand calldata — verify trusted source for arbitrary transactions

Pre-Deployment Checklist

  • Use a dedicated agent wallet, not your personal account
  • Fund with limited amounts appropriate to purpose
  • Set read-only if agent only queries data
  • Configure IP whitelisting for server-side agents
  • Store keys in environment variables
  • Test with small amounts first
  • Implement error handling for rate limits (429) and access control (403)

Related skills

How it compares

Use bankr dev - leverage trading when building leveraged perpetual integrations; use broader Bankr agent skills for spot swaps, Polymarket, or portfolio queries without margin.

FAQ

What leverage limits does bankr dev - leverage trading document?

bankr dev - leverage trading documents Avantis limits of up to 50x leverage on crypto and up to 100x on forex and commodities, with conservative 1-3x, moderate 3-10x, and aggressive 10-25x risk guidance for integration design.

Which chain and protocol does bankr dev - leverage trading target?

bankr dev - leverage trading targets Avantis perpetual futures on Base mainnet, using Bankr dev plugin workflows to validate pair, leverage, and minimum notional before building trade calldata or linking to the Avantis web UI.

What position parameters does bankr dev - leverage trading validate?

bankr dev - leverage trading validates leverage, collateral amount, long or short direction, stop loss, and take profit parameters, plus common failure modes like insufficient collateral, funding rates, and liquidation thresholds during bot integration.

Finance & Tradingfinancepricing

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.