User guide

Everything in TradeLayer, briefly.

One page per feature, in the order you'll meet them. Everything starts on DEMO; nothing goes out unless you send it.

1Connect the app to your server

The install command ends with a pairing code (and a QR). In the app: Sidebar → System → Connection, paste or scan it. The Getting started card in the sidebar then ticks off each step by itself.

2Connect a broker

2bcTrader step by step (IC Markets, Pepperstone, prop firms)

cTrader requires every connection to use an Open API app. You create your own, once, at Spotware (the company behind cTrader). That way no one else's secret is in your install, and your orders and tokens never pass through a TradeLayer server. One app covers all your cTrader accounts.

You don't need a company. The form asks for a company name and website, but Spotware's terms don't require a business. As a private individual you fill in your own details.

1. Open the form. In the app: Sidebar → Brokers & connections → Log in with cTrader, tap Open Spotware. Sign in with your cTrader ID (the same email and password as in the cTrader app) and click Add new app.

2. Fill in the form. The app shows these values with a copy button under “What do I fill in at Spotware?”.

Application nameTradeLayer, or “TradeLayer – your name”. Only you see it.
Company nameNo company? Your own first and last name, optionally with “(private)”.
WebsiteThe address of your own TradeLayer server (e.g. https://api.yourdomain.com), or your LinkedIn or GitHub profile.
DescriptionIn English, for example the text below. A clear description speeds up approval.
LogoOptional.
Redirect URLsREQUIREDClick Add redirect URL and paste the address from step 2 in the app. It ends in /api/v1/ctrader-oauth/callback. It must match exactly, character for character. Other addresses (like the playground) can stay.
Personal use by a private individual: trade journal and order management for my own cTrader accounts. Runs on my own server; no third-party users.

3. Wait for approval. Spotware approves apps by hand. The list shows Submitted first and Active once approved (you also get an email). That takes a few hours to a few days. Changing the app later (for example adding a redirect URL) can send it back to Submitted for a while.

4. Paste the Client ID and Secret. In the Spotware list, click Credentials next to your app. Copy both with the copy buttons and paste them in the app at step 4, then tap Save and test. The Client ID looks like 12345_aBcD…: the number and underscore belong to it.

5. Sign in and pick your account. Tap Log in with cTrader. On cTrader's page choose “Access any available account and trade” (the read-only options can't place orders), then Allow access. Back in the app, tap an account and choose what it's for: IC Markets, Pepperstone or your prop firm.

Something not working?
  • “cTrader doesn't accept this app” when saving: the Client ID or Secret doesn't match, or the app isn't Active yet. The message shows what cTrader replied and how many characters were sent.
  • An error page from cTrader after signing in: the redirect URL at Spotware differs from the one in the app.
  • An account is missing: tap Add account and tick it at cTrader.

3The chart — your broker's own prices

Candles (1m to 1D) and the live bid and ask come straight from your broker. Bid is what you can sell at, ask what you can buy at; the gap is the spread. cTrader and Capital.com draw bid candles, so a long fills on the ask and a short's stop triggers on the ask — that's why both lines are shown.

4Plan the trade on the chart

Tap Entry, SL or TP and tap in the chart, or drag an existing line. The value lands in the fields below at once.

5Order types

MarketFills right away at the live price.
LimitRests at your price; fills there or better.
StopTriggers at your price, then fills at market (can slip).
Stop-limitTriggers at the stop price, then places a limit at your limit_price. Never fills worse than your limit, but may stay unfilled if price gaps through. Risk is sized on the limit (worst fill).

The app only offers what your broker can take via the API. An order type a broker can't take is refused with a clear reason, never silently changed.

6Managing an open trade

8Automation

9Price alerts

Tap the 🔔 above the chart, then tap a price. You get one notification when your broker's price reaches it (bid on bid brokers, last price on crypto). Tap the 🔔 label under the chart to remove it. Alerts never place orders.

10Prop-firm rule guard

Add your challenge (firm, program, phase, size) and confirm the numbers against the firm's dashboard. The app tracks daily and max loss live, notifies you at 50/75/90%, warns before an order could breach a limit, and blocks automatic orders that would.

11Going live

A real order only goes out when all five are true:

Tip: start with the smallest size on one broker, check the fill and stop at the broker itself, close from the app and compare the result. Then the next broker.

12Safety controls