Live News
AHRT AH Realty Trust Advances Board Refreshment Process to Support Ongoing Strategic Transformation globenewswire.com EMRAF Emera Inc. Announces Leadership Transition at Emera Energy businesswire.com BBEU Euro zone growth slows to 0.1% as ECB faces energy risks invezz.com JPM JPMorgan fraud convict Charlie Javice is trying to ditch her ankle bracelet again businessinsider.com TI Titan Mining to Host Q1 2026 Update Call on May 13, 2026 globenewswire.com IBM IBM and Dallara to Advance AI and Quantum-Powered Design for High-Performance Vehicles prnewswire.com RDWR Radware to Participate in Upcoming Investor Conferences globenewswire.com WTW WTW Reports First Quarter 2026 Earnings globenewswire.com DELL Trust3 AI and Dell Technologies Partner to Deliver Secure, Governed AI-Ready Data Lakehouse Infrastructure prnewswire.com CI The Cigna Group Reports Strong First Quarter 2026 Results, Raises 2026 Outlook prnewswire.com AXTA Axalta Releases First Quarter 2026 Results globenewswire.com OST OS Therapies Announces EMA Initiates Rolling Review of Conditional Marketing Authorization Application for OST-HER2 in the Prevention or Del newsfilecorp.com ARGL Argyle Resources Terminates Option on Clay Howells Rare Earth Property; Reaffirms Focus on McKay Hill Silver and Quebec Silica Assets newsfilecorp.com GLSI Greenwich LifeSciences Provides Update Regarding Form 10-K Filing globenewswire.com GTLL Beam Global Granted U.S. Patent for Integrated Wind and Solar Power Generation System globenewswire.com
All news →
Setup Guide

Connect Alpaca for Auto-Trading

Step-by-step walkthrough to get a free Alpaca paper-trading account, generate API keys, and connect them to JKM Trade Tracker so signals can fire orders automatically — with zero real money at risk.

📖 What's in this guide
  1. Why Alpaca, and what is paper trading?
  2. Step 1 — Create a free Alpaca account
  3. Step 2 — Switch to Paper Trading mode
  4. Step 3 — Generate your API keys
  5. Step 4 — Save the keys in JKM Trade Tracker
  6. Step 5 — Verify the connection
  7. Step 6 — Enable Auto-Trading on your Profile
  8. Troubleshooting
  9. Frequently asked

🤔 Why Alpaca, and what is paper trading?

Alpaca is a US-regulated broker that offers a fully-featured Paper Trading environment — a simulated account funded with virtual cash that behaves identically to a live account: real-time quotes, real fills against the live market book, real options chains.

JKM Trade Tracker uses Alpaca's API to place orders the moment a TradingView signal fires. With Paper mode enabled, every order is virtual — you can validate the entire signal pipeline end-to-end without putting a single dollar at risk.

💡 Recommended workflow: run paper trading for at least 2 weeks before considering live keys. Watch the Signal Performance Dashboard to see win rate, average R, and per-signal P&L on your virtual account.
1

Create a free Alpaca account

Head to alpaca.markets/signup and sign up with your email. Verification is instant for paper-only access — you don't need to upload ID or fund the account.

What you'll see
alpaca.markets → Sign Up → email & password → verify email → logged in
ℹ️ Live trading? Skip it for now. Live accounts require ID verification, bank linkage, and pattern-day-trader rules ($25K minimum balance). Paper trading has none of these requirements.
2

Switch to Paper Trading mode

After login you land on the dashboard. In the top-right corner there's an account-mode dropdown — make sure it shows "Paper" (not "Live").

Where to look
Top right of dashboard → account dropdown → select Paper → URL changes to app.alpaca.markets/paper/dashboard/overview

You should now see a virtual balance of $100,000 in the Equity card — this is your starting paper cash.

3

Generate your API keys

Still in Paper mode, look at the right-hand sidebar on the dashboard — there's a panel labelled "Your API Keys".

  1. Click Generate (or Regenerate if keys already exist)
  2. A modal pops up showing two values:
    • API Key ID — looks like PKXXXXXXXXXXXXXXXX
    • Secret Key — a long random string
  3. Copy both immediately — the Secret Key is shown only once.
⚠️ Important: If you close the modal without copying the Secret Key, you'll have to regenerate (which invalidates the old pair). Paste both into a temporary notepad before continuing.

You'll have two strings ready to paste into JKM Trade Tracker. Quick sanity check:

  • Paper API Key IDs always start with PK
  • Live API Key IDs start with AK — you do not want these for the initial setup
4

Save the keys in JKM Trade Tracker

Back in JKM Trade Tracker:

  1. Open the navbar → click your name → Profile
  2. Scroll to the section titled 🤖 Alpaca Broker API Keys
  3. Paste the API Key ID into the first field
  4. Paste the Secret Key into the second field
  5. Confirm the Paper Trading Mode toggle is ON recommended
  6. Click 🔗 Save & Test Alpaca Connection
🔒 Encryption: JKM Trade Tracker encrypts both keys at-rest before writing them to the database. Even if you remove the keys later, the encrypted blob is wiped, not just hidden.
5

Verify the connection

If the keys are valid, the Save button shows a green flash: "✓ Alpaca connected — Account #XXXXXXXX". Two things confirm everything is wired correctly:

  1. The Connected badge appears next to the API Key ID label
  2. Visit Algo → Dashboard from the navbar — your account number, equity, buying power, and Paper badge should all appear
Successful connection looks like
✓ Connected  |  Account #PA31NT57CBHC  |  Mode: Paper  |  Equity: $99,965.42
⚠️ "Invalid credentials" error? See the Troubleshooting section below — it's almost always a stray space when pasting, or accidentally using a Live key in Paper mode.
6

Enable Auto-Trading on your Profile

The keys are saved — but Auto-Trading is still OFF by default. This is intentional: you control when the engine starts firing orders.

On your Profile, scroll to 📡 TradingView Auto-Trading and configure:

  • Master toggle: Enable Auto-Trading
  • 🎯 Min quality score (default 75) — only signals scoring at or above this fire automatically; lower-score signals show a manual 🎯 Trade button on the TV Signals page
  • Stock quantity tiers: shares to buy by price band ≤$10 → 100 / ≤$50 → 10 / <$100 → 1 / ≥$100 → 1
  • Options: optionally enable, with budget cap and contract count
💡 First-week recommendation: keep min-score at 80 for the first week. After a few hundred signals you can tune lower based on what your paper-trading P&L shows.

🔧 Troubleshooting

Most common errors and how to resolve them.

"Invalid Alpaca credentials"

"Connection works but auto-trade isn't placing orders"

"I want to disconnect Alpaca"

"Where do I see my paper P&L?"

❓ Quick FAQ

Is paper trading really free? Yes. Alpaca paper accounts are free forever — no card, no fees, no expiration.

Can JKM see my real bank account? No. Paper accounts are not linked to any bank. Even on a live account, JKM only ever sends order/cancel requests through the API — it cannot move money in or out.

Where are my keys stored? Encrypted in JKM's database, scoped to your user account. Only you can see or use them. Removing them deletes the encrypted blob.

Can I share keys with family? Don't. Each family member should sign up at Alpaca and generate their own keys — keys are tied to one account's positions.

What happens if a signal fires while Auto-Trade is off? Nothing automatic — the signal still appears on the TV Signals page with a 🎯 Trade button you can click to confirm a manual order via the Add Trade form.

Can I switch between paper and live later? Yes. Generate live keys in Alpaca, paste them in JKM, untick the Paper toggle, save. We strongly recommend at least 4 weeks of profitable paper trading before flipping the switch.