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.

Request API LoginLogin to the API Console

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.

WebSocket Connectivity

Establish and authenticate your WebSocket connection and test Lightspeed Connect message handling.

Order Workflows

Test supported equity and equity-option order entry, cancellation, replacement, and status workflows.

API Responses

Validate how your application handles acknowledgements, execution reports, status changes, and other API responses.

Positions

Test how your application receives and processes changing position information.

Account Updates

Work with simulated account information including buying power, equity, margin, and P&L.

Options Workflows

Develop and test single-leg and multi-leg equity options workflows, including strategies with up to four legs.

Browser-Based Testing

Test API Messages Before

Writing Code

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.

About Web Sockets

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.

Development

Paper Trading

Simulated order execution

Paper Trading API credentials

Simulated balances and positions

Development and integration testing

Test order and account workflows

Live

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.

  1. 01

    Get Your API Key

    Create credentials for the Paper Trading environment.

  2. 02

    Connect

    Establish and authenticate your WebSocket session.

  3. 03

    Build

    Develop the order and account workflows your application needs.

  4. 04

    Test

    Validate messages with Paper Trading and the API Console.

  5. 05

    Go Live

    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.

Stay up-to-date

Get the latest news and promos.