API Trading
Paper Trading with Lightspeed Connect
Build and validate your Lightspeed Connect integration in a simulated trading environment before moving to production.
Test WebSocket connections, order workflows, execution messages, positions, and account updates without sending orders to a live market.
Develop with confidence
A Dedicated Environment for
Development and Testing
Lightspeed Connect provides separate Paper Trading and Production environments,
giving developers a clear path for building and validating an integration before transitioning to live trading.
Paper Trading uses simulated order execution and separate API credentials,
allowing developers to test application behavior without using a live trading account.
Test your integration
Build More Than an
Order Entry Connection
Test the workflows your application needs to handle across the Lightspeed Connect API.
Establish and authenticate your WebSocket connection and test Lightspeed Connect message handling.
Test supported equity and equity-option order entry, cancellation, replacement, and status workflows.
Validate how your application handles acknowledgements, execution reports, status changes, and other API responses.
Test how your application receives and processes changing position information.
Work with simulated account information including buying power, equity, margin, and P&L.
Develop and test single-leg and multi-leg equity options workflows, including strategies with up to four legs.
Browser-Based Testing
The Lightspeed Connect API Console lets developers send and receive WebSocket messages directly from a browser.
Choose an order template, adjust the JSON payload, send the request, and inspect acknowledgements, execution reports, notifications, and response details.
Examples in the Lightspeed Connect documentation can also be loaded into the console using Try in Console.
Development to Production
One API. Two Environments.
Develop and validate your integration in Paper Trading,
then transition to Production when you're ready for live trading.
Paper Trading
Simulated order execution
Paper Trading API credentials
Simulated balances and positions
Development and integration testing
Test order and account workflows
Paper Trading
Live trading
Production API credentials
Live account information
Production trading workflows
Real positions and balances
Getting Started
From First Connection to Production
Use Lightspeed Connect's developer tools and Paper Trading environment
throughout the integration process.
Create credentials for the Paper Trading environment.
Establish and authenticate your WebSocket session.
Develop the order and account workflows your application needs.
Validate messages with Paper Trading and the API Console.
Complete testing and transition to Production credentials.
Lightspeed Connect Resources
Keep Building
Developer Tools
AI-Ready API Documentation
Use machine-readable documentation designed for developers and modern coding assistants.
Trading API
Options Trading API
Build single-leg and multi-leg equity options workflows with Lightspeed Connect.
Trading API
Hard-to-Borrow Locates
Integrate eligible hard-to-borrow locate requests into your custom trading workflow.
Integrate Locates into Your Trading Workflow
Explore the Lightspeed Connect API documentation for
locate requests, quotes, and orders.
Get the latest news and promos.