Live News
WPP WPP: Why The Upside Will Come seekingalpha.com TRAK ReposiTrak: Walmart And Kroger May Prove The Bears Wrong seekingalpha.com AMZN 2 Magnificent Artificial Intelligence (AI) Stocks to Buy and Hold for the Next 20 Years fool.com P-SPAC Mark Your Calendar: SpaceX Could Be a Very Different Stock by Halloween fool.com LLY 3 Reasons to Buy Eli Lilly Stock fool.com DIS Could "Toy Story 5" Reignite Disney? fool.com ADBE Jensen Huang Says Software Companies Are About to Benefit From AI. These 2 Stocks Could Win Big fool.com GRID Tantalus Systems: A High-Growth Smart Grid Play Trading At A Discount seekingalpha.com VERX Vertex Has a Head Start in Non-Opioid Pain. Eli Lilly Just Spent Billions to Catch Up. fool.com INTC Greenstone Biosciences, Inc. and Intel Corp. Launch Strategic Collaboration to Scale Human-Centric Drug Discovery businesswire.com FAS Porsche CEO aims to finalise new cost-cutting package by July, FAS reports reuters.com WS Worthington Steel Is A Solid Play As Q4 Earnings Near seekingalpha.com META 3 "Magnificent Seven" Stocks to Buy and Hold Right Now fool.com MAA Mid-America Apartment Nears An Inflection Point seekingalpha.com WPLCF ROSEN, HIGHLY RECOGNIZED INVESTOR COUNSEL, Encourages Wise Group plc Investors to Inquire About Securities Class Action Investigation - WSE newsfilecorp.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.