What problem does it solve?
Ranger Finance SDK consolidates liquidity across multiple Solana perpetual futures venues, enabling developers to build multi-exchange trading apps, agents, or dashboards with a single integration.
Core Features & Use Cases
- Unified liquidity routing: Route orders across Drift, Flash, Adrena, and Jupiter to optimize execution.
- AI agent integration: Provide a Model Context Protocol (MCP) server for AI trading agents to fetch quotes, open/adjust positions, and monitor portfolios.
- Developer-friendly SDK: TypeScript APIs for getting quotes, increasing/decreasing/closing positions, querying positions, and signing transactions.
- Use Case: Build a Solana-based trading bot that can fetch cross-venue quotes and execute orders automatically via a single API.
Quick Start
Install the Ranger Finance package and configure your environment (RANGER_API_KEY, SOLANA_RPC_URL, and optional wallet private key). Then use the TypeScript examples to get quotes, open positions, and sign transactions.