While25 - Programmable Trading Platform
Home
SDK
BlogCardsSupportDownload
While25

A programmable trading platform.

Download While25Book a call

Order managementRisk managementChartsAI assistantCompare

Python SDKSDKDownload

AboutBlogWhile CardsCareersSupportContact

Interactive BrokersAlpacaZerodhaUpstoxAll brokers

TermsPrivacyLicenceRiskAIAcceptable useNotices

While25 is software. It is not a broker, dealer, exchange or investment adviser, and nothing on this site is a recommendation to buy or sell any instrument. Orders you place route to your own brokerage account; While25 never holds funds or securities.

Trading carries risk of loss, including losses greater than your deposit on leveraged products. Backtests and simulations do not predict future returns. Broker and exchange names are trademarks of their owners. We plan to add Coinbase, Binance and Robinhood; you cannot connect them yet.

© 2026 While25

while25
Connect a brokerAlpaca logo

Alpaca

The quickest way to see While25 trade. A paper account from the moment you sign up, and two strings you copy once.

About 2 minutes · Easiest, start here · Free for paper · An API key and a secret

Watch: Alpaca connected in about a minute

Before you start

  • An email address. Paper trading needs no funding and no approval.
  • While25 Desktop open on the same machine.
  • Start on paper. Live keys are different strings you swap in later.
  1. 01

    Sign up at alpaca.markets

    Create an account at alpaca.markets ↗. You land in the dashboard straight away; funding and identity checks belong to live only.

    Paper and live have different keys. Generating one on the wrong tab is the most common mistake here.

    app.alpaca.marketsAlpaca dashboardPaper1LiveAccountPA3X…9QDBuying power$200,000.00
    1 · Check the switcher says Paper before you generate anything.
  2. 02

    Make sure you are on the paper account

    The account switcher is top-left. Paper accounts start with PA and open with $100k of pretend money. For a clean slate, open a second paper account rather than resetting the first.
  3. 03

    Generate the key and the secret

    On the dashboard home, find API Keys and press Generate New Keys. Two values appear: an API Key ID and a Secret Key.

    Alpaca shows the secret once. Lost it? Generate a new pair and update While25; the old pair stops working.

    Home · API KeysEndpointhttps://paper-api.alpaca.marketsAPI Key IDPKXXXXXXXXXXXXXXXXXX2Secret Key••••••••••••••••••••••••••••3Generate New Keys1
    1 · Generate. 2 · Copy the key id. 3 · Copy the secret now. Alpaca shows it once.
  4. 04

    Hand the two values to While25

    Open While25 Desktop, connect Alpaca with the key and the secret, and leave the environment on paper. Paper endpoint https://paper-api.alpaca.markets, live https://api.alpaca.markets.
  5. 05

    Send one order and watch it fill

    Place a single share of a liquid name from the order ticket. It appears in the order book and fills in seconds. That is the whole loop.

What you copied

API Key ID
Public half. Starts with PK for paper, AK for live. Sent as the APCA-API-KEY-ID header.
Secret Key
Private half. Alpaca shows it once, never again. Sent as the APCA-API-SECRET-KEY header.
Base URL
paper-api.alpaca.markets for paper, api.alpaca.markets for live. Different keys for each.

Treat the secret like a password: it can place orders. If it ends up anywhere public, generate a new pair at once.

When it does not work

403 forbidden on every request+

The key belongs to the other environment. Paper keys do not work against the live endpoint and the reverse is also true. Regenerate on the correct tab.

The keys worked yesterday and stopped+

Generating a new pair revokes the old one. If someone on the desk pressed Generate, everyone using the old pair is locked out.

Alpaca accepts the order but it never fills+

Paper fills follow real market hours. Outside them an order waits for the next session unless you set it to trade in extended hours.

I want a fresh $100k+

Open a new paper account from the account menu and generate keys for it. Accounts are created and deleted now rather than reset.

Straight from Alpaca

  • Alpaca · Paper trading ↗
  • Alpaca · Getting started with the Trading API ↗
  • Alpaca · How to get your API key ↗

Trading in India instead? See Zerodha or Upstox. Want futures and options on a US account? Interactive Brokers.