Brokers
STG / DAS
Connect DAS Trader Pro (STG Markets or Cobra Trading) to TradeLabs: set the CMD API port in DAS, then add the account in the Brokers page.
STG / DAS connects through DAS Trader Pro running on the same computer as TradeLabs. DAS is a direct-access platform, and brokers like STG Markets and Cobra Trading each ship their own DAS client.
TradeLabs talks to that client over a local loopback connection, so there is nothing to paste from a website. Keep the DAS client signed in and running. The broker card is named STG / DAS.
Stocks only, including short selling. No options, spreads, crypto, or RSA.
Each broker has its own DAS client. Trading through both STG Markets and Cobra Trading means running both clients at once, and adding a separate TradeLabs account for each on its own CMD API port.
Before you start
- An account with a DAS-compatible broker (STG Markets or Cobra Trading), funded and approved.
- DAS Trader Pro access granted by that broker. Access is separate from opening the account, so request it through your broker’s portal or support.
- The DAS Trader Pro client installed on this computer and able to log in on its own.
- The TradeLabs Companion running on the same computer.
Opening an account usually means identity documents, a W-9, an initial deposit, and approval, then a separate request for DAS access. Minimums and timelines are the broker’s, so confirm them before you plan around them.
DAS brokers specialize in stocks with extended hours and short selling. TradeLabs drives the short-locate path, so a Short locate % field appears on a Stocks strategy routed here. There is no extended-hours toggle for DAS, so orders go out for the regular session.
Live and paper accounts share the same setup. A paper account is usually your account number with a TR prefix, for example TR4860.
Set the CMD API port in DAS
TradeLabs reaches DAS through the CMD API port you set inside the DAS client. Configure it in every DAS client you run.
-
In DAS Trader Pro, open the Setup menu, then Other Configuration.
-
Find the CMD API port setting and give this client a port number. Each client needs its own.
-
Save, then fully close and reopen DAS Trader Pro. The restart is required.
Two DAS clients cannot share a CMD API port. Running STG Markets and Cobra Trading together means two different ports, for example 8888 and 8889, with the matching port entered for each TradeLabs account. Any free port works.
Connect it in the app
-
Open the Brokers page, find the STG / DAS card, and click Add account.
-
Fill in the form:
- Account ID (required) — your DAS login username, the one you type into DAS Trader Pro. It usually looks like
CB4860for Cobra orTR4860for STG. - Password (required) — your broker account password.
- Account — your DAS account display name, for example
TR4860. - Port — the CMD API port you set in DAS, for example
8888. - Sub-broker — STG, Cobra, or DAS.
- Account ID (required) — your DAS login username, the one you type into DAS Trader Pro. It usually looks like
-
Click Save account.

Click the STG / DAS card, then Add account, to open the connect form

Enter your Account ID, password, port, and sub-broker, then click Save account
TradeLabs connects to DAS and verifies the link itself, so there is no separate test step. The account then reads Active, Idle, Warming, or Offline on the Brokers page. To re-check later, open the account row menu and choose Check connection.
Trading notes
The STG integration reads stop loss and take profit as a percent of price. A plain 100 means 100 percent, not $100.
Short selling can require the broker to locate shares first. When shares cannot be located, TradeLabs skips the trade rather than filling it. A larger dollar size per trade gets located more often than a very small one.
Short positions carry risk that can exceed your initial position. Decide your stop loss policy before you trade live.
For paper trading, enter your TR account in the Account field and leave the rest the same. Every short locate succeeds in paper mode, so every trade fills. Live conditions differ, so paper fills do not predict live fills.
Fixing common problems
- Cannot connect. Confirm the DAS client is open and logged in, and that the Port in TradeLabs matches the CMD API port in DAS.
- Port change did nothing. Fully close and reopen DAS. The change only takes effect on restart.
- Wrong port. The port must belong to that specific DAS client, not another one.
- Cannot log in to DAS itself. Confirm your broker has activated DAS access. TradeLabs cannot connect until the client logs in on its own.
- Trades skipped on live. No shares available to locate. A larger dollar size per trade reduces how often this happens.