Mount Inflection logo Mount Inflection

MOUNT INFLECTION · ALPACA SETUP

Set up in three phases

Use a computer. Each phase has several steps: prepare and copy, authorize and connect, then review and start. Google’s permission screens are part of setup. Trading stays off until you explicitly start it in Phase 3.

Before you make a copy

  1. Sign in to Gmail on a computer. Use the same Gmail address for your Mount Inflection subscription and your Sheet copy.

    New to Free Friday? Sign up with that Gmail address. In Gmail, open Confirm your Mount Inflection signup and click Confirm your signup. Check Spam or Promotions if it’s missing.

    Already subscribed? Open a full issue from the last eight days before previewing in Sheets. The signup confirmation and welcome email are separate from the issue.

  2. Sign in to Alpaca. Choose an account with zero positions, zero open orders and no other automation. Paper is for practice and needs no deposit. Live uses real money and must be approved and funded.

Get both Alpaca keys: select Paper or Live in Alpaca, then open API Keys.

Show me where to find my keys
  1. On a computer, sign in to Alpaca ↗. In the account selector, choose Paper Trading for a Paper Sheet or Live for a Live Sheet.
  2. Open API Keys on the dashboard. If the card is missing, look under Manage Accounts or Account Management and find the matching account.
  3. Copy the Key ID and its matching Secret Key. Use Generate New Key if you need a pair. Alpaca shows the secret when it generates the pair. A replacement can disconnect apps using the old key.

Paste both values into Trading controls under ⚙ MI Paper or ⚙ MI Live in your private Google Sheet. Keep them out of the worksheet cells, website, chat and email.

See the key diagram and Alpaca’s guide →

The template opens in a new tab so you can keep these instructions beside it.

  1. PHASE 1 OF 3

    Prepare and make your copy

    1. Complete Before you make a copy: sign in to the right Gmail and Alpaca accounts, confirm your subscription and find both API keys.
    2. Choose Free or Pro and Paper or Live using the buttons above.
    3. Check the Google account, then click Make a copy. Keep your new Sheet private.

    Copying alone does not connect Alpaca or start trading.

  2. PHASE 2 OF 3

    Authorize, connect and save

    1. In your copy, open ⚙ MI Paper or ⚙ MI Live → Trading controls. Refresh once if the gear is missing.
    2. If Google asks: click OK / Review permissions, choose your newsletter’s Google account, read the requested access, then click Allow / Continue if you accept it. Return to the Sheet and reopen Trading controls if needed.
    3. Enter the matching Key ID, Secret Key, account percentage and maximum per order. Click Save & close; the window closes after a successful save.

    Why the Google prompt? Your copy needs permission to read Gmail, check its file, contact Alpaca, manage its timer and send your receipt. Gmail access is mailbox-wide read-only; Drive metadata access covers Drive. Google may also show an unverified-app warning. Read the permission and warning explanation below.

    Menu diagram. Open ⚙ MI Paper and choose Trading controls. Live templates use ⚙ MI Live.

    Still OFF: Google permission and Save & close do not enable trading.

  3. PHASE 3 OF 3

    Verify, preview and start

    1. Reopen Trading controls. Match the last four account digits and Paper / Live mode to Alpaca. It should still say Trading is OFF.
    2. Click 1. Preview to start or restart. Review the issue date, account and proposed actions. Check the confirmation box. Live also requires typing I ACCEPT LIVE TRADING.
    3. Click Start Paper or Start Live only when you are ready. Confirm Paper trading is ON or Live trading is ON.
    4. Check Gmail for your setup receipt. It contains your Sheet link, schedule and pause/restart instructions. The email is a receipt, not an activation link. If it is missing, verify the timer status in Trading controls.

    Check the first scheduled run →
    An ON status confirms the timer, not a broker fill.

Google permissions: what to click, why it appears and what access means

Why Google asks for permission

Your private Sheet contains a Google Apps Script. Google asks you to authorize it before it can read your newsletter, open its controls, check its own file, contact Alpaca, run on a schedule or send your setup receipt. Copying the Sheet does not grant that access.

  1. At Authorization required, click OK or Review permissions, whichever Google shows.
  2. Select the same Google account that receives your MI newsletter and owns this copy.
  3. Read the requested access below. If Google shows permission checkboxes, select the required permissions only if you accept them. Then click Allow or Continue, as shown. Leaving required access unchecked can prevent setup or scheduled checks from working.
  4. Return to your private Sheet. Reopen ⚙ MI Paper or ⚙ MI Live → Trading controls if the window closed.

What you are accepting

  • Read Gmail: Google grants mailbox-wide read-only access. This code searches for MI issues; the permission is not limited to MI messages. It cannot edit or delete email.
  • Use this Sheet and show its controls: manage this copy’s setup and activity display.
  • Contact external services and manage timers: connect to Alpaca and run the schedule after you explicitly start it.
  • Send email: Google’s send-mail permission is broader than one recipient. This code uses it for the setup receipt to your connected Gmail account after Start.
  • Read Drive file metadata: Google grants metadata access across Drive, not file contents through this scope. This code requests only its own Sheet’s ID, type, Trash status and version for the stop safeguard.

If Google says “Google hasn’t verified this app”: the copied script has not completed Google’s OAuth verification. This warning is separate from our software tests. Read it and review the requested access yourself; proceed only if you trust the code and accept that access. If Google blocks access or your work account needs administrator approval, stop and ask for help.

Google may ask again when a new copy or an update needs authorization. Accepting Google permissions does not start trading. Saving also leaves trading off. Only the separate preview, confirmation and Start action enables the schedule.

Google’s explanation of Apps Script permissions ↗ · Google’s unverified-app warning ↗

Just want to read your issue? Choose Newsletter & activity in the same menu. It checks your inbox automatically and shows your latest issue separately from trading controls. You can read it before entering Alpaca keys.

Pause, restart and schedule details

After pausing: reopen Trading controls, click 1. Preview to start or restart, review it, check the confirmation box and click Start Paper or Start Live. Pausing stops future submissions. Check Alpaca for orders already submitted.

Free checks Fridays. Pro checks daily. Once started, Google aims for 9:45 a.m. Eastern, with a roughly 9:30–10:00 a.m. window. Orders depend on the current issue and an eligible stock-market session.

Paper trading is ON. or Live trading is ON. means the timer is on. To see whether a check ran or an order filled, use the steps below.

Look for your setup receipt. After you start, your Sheet sends an email to the Gmail account connected to that copy. Keep it for your Sheet link, account suffix, schedule, and instructions to check, pause, or restart. This email is a receipt, not an activation link. If its delivery could not be confirmed, check the timer status in Trading controls.

Check your first run or fix a problem

In your Sheet, click ⚙ MI Paper → Newsletter & activity or ⚙ MI Live → Newsletter & activity, then Refresh activity. This opens the status sidebar. Look for Last check, Result and, if something failed, Reason.

  • No scheduled run recorded yet. Reopen Trading controls to see whether the timer is on. Check again after the next scheduled window.
  • The check ran. Zero orders can be normal if the issue has no eligible changes. If you expected a fill, open Orders in the matching Alpaca account and check the order’s status there.
  • The gear is missing. Open your private copy on a computer and refresh once. Review Google’s permissions if prompted, then reopen Trading controls.
  • The account or email check fails. For Alpaca, check that both keys come from the same account and match Paper or Live. For Gmail, confirm you are in the inbox that got the full Free or Pro issue, then try 1. Preview to start or restart again.
  • A previous run needs review. Read the reason and check Alpaca for open orders and fills before restarting. If you need help, send the exact error and your tier and mode. Keep your keys private.
Stop, restore or delete your Sheet

Pause first, then delete. Choose ⚙ MI Paper → Pause trading or ⚙ MI Live → Pause trading, then confirm trading is OFF.

The updated templates also check the file before new orders. A Sheet in Trash, a missing file, a failed file-status check or a file change while enabled stops further submissions at that safety check and removes its check and retry timers. Editing or renaming an enabled Sheet can therefore pause it too.

To recover: restore the original Sheet, review Alpaca, then open Trading controls, preview the issue, check the confirmation and explicitly click Start Paper or Start Live. Restoring a stopped copy does not turn trading back on. Keep the original order journal; an unfinished run needs review before restarting.

Closing the Sheet or browser does not pause it. The file check is not an instant deletion event handler. An order request already in progress or accepted by Alpaca may still fill; pausing or deleting does not cancel orders or close positions.

Recovery, permissions and older-copy help →

Setup help and older instructions →

MOUNT INFLECTION · FREE FRIDAY

See what changed this week.

Preview the latest published Free issue right here. See which stocks the model entered or exited and how an example entry would be sized.

Anyone can preview an issue. No sign-in or account connection is needed.

Preview the latest Free issue →