flash-trade

Open and close Solana perpetual futures positions via the Solana Agent Kit.

3|1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/readtheskill/readtheskill --skill flash-trade
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flash-trade
Source: https://github.com/readtheskill/readtheskill/tree/main/public/skills/flash-trade
Command: npx skills add https://github.com/readtheskill/readtheskill --skill flash-trade

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides programmatic access to open and close perpetual futures positions on Solana, removing the manual steps of interacting with contracts and streamlining automated trading workflows.

Core Features & Use Cases

  • Perpetual Position Management: Direct actions to open and close perpetual futures via the Solana Agent Kit DeFi plugin.
  • Agent Integration: Built to be used by trading agents and bots through @solana-agent-kit/plugin-defi with verified action names.
  • Use Cases: Algorithmic traders performing hedging or arbitrage, trading bots managing leveraged exposure, and integrations that need deterministic open/close trade actions.

Quick Start

Open a 5 SOL long perpetual position on Flash Trade using the Solana Agent Kit plugin-defi and return the transaction signature and confirmation status.

Frequently Asked Questions about flash-trade

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I open and close Solana perpetual futures positions programmatically?

To open and close Solana perpetual futures positions programmatically, use the flashOpenTrade and flashCloseTrade actions via the Solana Agent Kit DeFi plugin to submit transactions and receive confirmation statuses.

What is a Solana Agent Kit DeFi plugin for perpetual trading?

The Solana Agent Kit DeFi plugin for perpetual trading provides deterministic flashOpenTrade and flashCloseTrade actions, enabling trading agents to manage leveraged long and short positions without manual contract interaction.

Do I need a funded Solana wallet to use the flash-trade actions?

Yes, you need a funded Solana wallet to use the flash-trade actions because the plugin requires a funded wallet to submit transactions for opening and closing perpetual positions on the Solana network.

Can I use this DeFi plugin for algorithmic arbitrage and hedging on Solana?

Yes, you can use this DeFi plugin for algorithmic arbitrage and hedging on Solana because it is specifically built for trading bots that require deterministic open and close actions to manage leveraged exposure.

What are the limitations of automating perpetual trades with the Solana Agent Kit?

Limitations of automating perpetual trades with the Solana Agent Kit include its intermediate implementation depth and reliance on funded wallets, meaning users must manage transaction signatures and leveraged risk independently.