Guide
PlatformForexCFDsIndicesCrypto No key needed

Pepperstone API guide

Pepperstone is a popular low-spread broker, and its APIs are the platforms’ APIs.

Last verified · Also known as Pepperstone API

Quick answer

Pepperstone has no proprietary API. You automate a Pepperstone account through the platforms it offers: the cTrader Open API (Protobuf over TCP/WebSocket, with Python and .NET SDKs), MetaTrader 5 (MQL5 or the MetaTrader5 Python package) or TradingView alerts routed to your own code.

Pepperstone API at a glance

Pricing
Free platforms; spreads and commissions apply
Availability
Australia, UK, EU, and international; not US
Paper trading
Not applicable (data only)
Integration type
Local gateway
In AlgoGP
Design and backtest in AlgoGP, connect the exported code
cTrader
Open API (OAuth + Protobuf)
MetaTrader
MQL4/MQL5, MT5 Python package
TradingView
Alerts to your webhook

Build a Pepperstone strategy with AlgoGP

AlgoGP does not connect to Pepperstone natively yet. Pepperstone connects through a local gateway, socket, FIX or Protobuf stack rather than plain HTTPS, so it runs as a separate process next to your strategy.

  1. 1

    Design and backtest in AlgoGP

    Describe the strategy to the copilot and backtest it on years of normalized history. The result does not depend on any vendor.

  2. 2

    Export the Python project

    Every project exports strategy.py, market_data.py, brokers.py and live.py. The strategy only sees bars, cash, positions and orders, never a vendor’s wire format.

  3. 3

    Plug in Pepperstone

    Implement the four adapter methods (account, positions, submit_market_order and a candle fetcher) with Pepperstone’s SDK, or keep a built-in platform for paper trading and add Pepperstone when you go live.

Built-in data sources for the same markets: Alpaca, Binance, Coinbase Exchange, Yahoo Finance.

Pepperstone API: frequently asked questions

Which Pepperstone platform is best for Python?

cTrader Open API works from any OS; the MT5 Python package needs Windows.

Design and backtest your Pepperstone strategy first

AlgoGP turns an idea into Python and tests it on years of history before you connect it to Pepperstone. The exported code keeps the broker behind four small adapter methods.

  • AI copilot writes and revises the rules
  • Backtests with realistic costs
  • Exported Python ready to wire to Pepperstone

Free plan, no card required.

Pepperstone alternatives

Independent guide. AlgoGP is not affiliated with Pepperstone. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.

Build a strategy