Skip to Content
Welcome to Level2 Help Center
DocumentationConnect APIBroker API Integration

Broker API Integration

An API (Application Programming Interface) acts as a secure bridge between the platform and your brokerage account. This connection allows the system to view real-time market data and place trades on your behalf without requiring manual intervention.


Why You Need an API

Connecting your broker via an API is essential for transitioning from manual analysis to fully automated execution.

Connect API

1. Live Market Data

The API allows the system to fetch live prices and historical OHLCV data directly from the exchange. This ensures your strategy logic is always making decisions based on the most current market information.

2. Automated Execution

Once your strategy conditions are met, the API sends instructions to place buy/sell orders automatically. This removes the delay and emotional friction associated with manual order entry.

3. Position Tracking

The API provides a continuous feedback loop, allowing the platform to:

  • Monitor the status of pending orders (Open, Filled, or Canceled).
  • Track active positions and current exposure.
  • Calculate real-time P&L (Profit and Loss) based on live brokerage.
Last updated on