AutoScanTrade
User guideComing soon

Broker, keys and settings

Choose your broker, keep its commission schedule, enter your API keys, and set up sounds, layouts and the other desk-wide options.

BROKER window

BROKER, at the right end of the WINDOWS row, sets which broker the desk sends orders to, what that broker can do, and its commission schedule.

The BROKER window with the broker dropdown showing Alpaca marked EXECUTES, the capability line, the commission schedule fields and SAVE, RESET and CLOSE
The BROKER window.
PartWhat it means
Broker dropdownEach broker shows its status. EXECUTES: the desk sends orders to it (TradeZero and Alpaca in this build). NEXT BUILD, REGISTERED and NO PUBLIC API: on file for their details, but no orders can be sent. Only a broker marked EXECUTES can be armed or traded live.
Capability lineWhether the selected broker takes market orders, only in regular hours, whether resting limits are free, whether it needs locates, and whether it supports cancel all and cancel last.
CREDENTIALS...Opens the credentials window.
REFUND NETTED LOCATESWhether a short that only closes out a long position gives its locates back to the desk's locate count. Off is the cautious choice: the count may run low and refuse a later short, rather than sending a short the broker would reject. Either way it is logged.
SAVE / RESET / CLOSESave the broker choice and schedule; put the shipped default schedule back in the boxes (nothing is written until you save); close without saving.

Commission schedule

No broker supplies its commission schedule through its API, so you enter it and keep it current. These numbers drive the journal's fee lines, the breakeven and the free-entry figure. Check them against your broker's statement when anything changes.

FieldMeaning
Free-order minimum (shares)Orders of at least this many shares can qualify for free commission.
Free-order minimum price ($)The share price an order must be at or above to qualify.
Per share ($)Commission per share.
Flat fee under the share minimum ($)A flat charge for orders below the share minimum.
Minimum / Maximum per order ($)The lowest and highest commission on one order.
...up to this many sharesThe share count the maximum applies up to.

Credentials

Open with CREDENTIALS... in the BROKER window.

PartWhat it does
DATA - AlpacaYour Alpaca API key and secret for market data, and the feed (sip or iex). This key feeds the scanner, the lists, the news and the chart. TEST DATA asks Alpaca whether that feed answers with this key, and whether it is a paper or a live key.
EXECUTIONThe broker that sends orders and the fields it needs, with its status and sign-in type. For Alpaca: a trading key, secret and whether it is a paper account (paper and live Alpaca keys are different pairs). The trading key is kept separate from the data key. TEST BROKER asks the broker whether the account is reachable.
showShows or hides a secret.
SAVEWrites the values to the settings file on your PC (a backup of the old file is kept). New keys are used from the next start; the broker choice applies at once.
RESET / CLOSEPut the saved values back in the boxes; close without saving.
Your keys stay on your PC

API keys are stored in a settings file beside the program on your own computer and are used only to talk to your data provider and your broker. Testing a key never saves it.

Paper, live and your code

The desk opens in paper. Switching to live needs no open positions, the fleet stopped, and your 6-digit code (created the first time, stored as a salted hash). Turning SYSTEM on in live and starting a live fleet slot also ask for the code. Full details are in getting started.

Sounds

Sound in the AUTO/BOT window sets the main alert voice and volume (up to 150%). SOUNDS... opens the per-event settings.

The per-event sounds window listing eight events, each with an on/off tick, a voice dropdown and a TEST button

Layouts and text size

CHECK, EXPORT and CLOSE

Risks and disclaimers

RISKS in the header opens the risks and disclaimers any time; the same text is in a file beside the program, and you accept it before the desk first opens. It covers, among other things:

Clock and market time

Times on screen (log, journal, ladder, chart) are your computer's local time; market sessions follow New York time. The US and many other countries change clocks on different dates, so for a few weeks a year the local time of the US open moves. If your computer's clock or time zone is wrong, everything worked out from it is wrong too. The trading day is anchored to New York, so an after-hours session that runs past your local midnight stays in one trading day.