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 brokerCoinbase logo

Coinbase

Prices need no keys at all. To trade, one API key from the Coinbase Developer Platform: a key name and a private key you paste once.

About 3 minutes · Easy · Free. Trading fees are Coinbase’s · A key name and a private key

Before you start

  • A Coinbase account. Spot trading works on any verified account; futures need Coinbase’s US futures account on top.
  • While25 Desktop open on the same machine.
  • There is no paper mode on Coinbase. Orders are real, so keep sizes small until you trust the setup.
  1. 01

    Just want prices? Skip the keys

    In While25 Desktop pick Crypto (or United States), then Coinbase, and press See Coinbase prices, no keys. Coinbase publishes its trades and order books openly, so charts and quotes work without signing in. The rest of this guide is for placing orders.
  2. 02

    Open the Coinbase Developer Platform

    Sign in at portal.cdp.coinbase.com ↗ with your Coinbase login and open API keys. Keys made here are the ones Coinbase Advanced Trade takes.
  3. 03

    Create a key with View and Trade

    Under Secret API Keys press Create API key and give it a nickname you will recognise, like While25 Desktop. Expand API restrictions, choose the portfolio, and tick View and Trade. Leave Transfer off: While25 never moves money, and a key that cannot withdraw is a key that cannot be used to drain the account.
    portal.cdp.coinbase.comCreate API keyNicknameWhile25 Desktop1View2Trade2Transfer3Create API key4
    1 · Any nickname. 2 · View and Trade. 3 · Never Transfer. 4 · Create, after the next step.
  4. 04

    Pick ECDSA, then keep the private key

    Expand Advanced settings and change the signature algorithm to ECDSA. Coinbase's trading APIs require it; an Ed25519 key may fail to sign in. Press Create API key. Coinbase shows the key's name and private key once; copy both, or download the key file it offers.

    Coinbase shows the private key once. Lost it? Delete the key and make a new one; the old one cannot be read back.

    Your new API keyECDSA1Ed25519API key nameorganizations/…/apiKeys/…2Private key••••••••••••••••••••••••3Download key file4
    1 · ECDSA, not Ed25519. 2 · The name. 3 · The private key, shown once. 4 · Or keep the file.
  5. 05

    Paste it into While25

    In While25 Desktop pick Coinbase. Paste the API key name into the first box and the private key into the second, with its BEGIN and END lines; the downloaded key file pasted whole works too, and names itself, so the name box may then stay empty. Press Save and connect.
    While25 · Coinbase API keysAPI key nameorganizations/…/apiKeys/…1Private key (PEM)-----BEGIN PRIVATE KEY----- …2Save and connect3
    1 · The name. 2 · The key file or the PEM, every line. 3 · Save and connect.
  6. 06

    While25 checks the key before it keeps it

    Before anything is saved, While25 asks Coinbase with the key. A key Coinbase refuses is not stored, and the form says why. A key it accepts is kept in the app's vault on this machine and never shown again.

What you pasted

API key name
Public. Looks like organizations/…/apiKeys/…. It names the key, not your account.
Private key
Private. Signs every request. An ECDSA key, as a PEM or inside the downloaded key file.
Portfolio
A key belongs to one portfolio, and spot orders go there. Another portfolio is chosen later from the broker menu in While25.

Coinbase keys do not expire; you enter yours once. Futures orders go to your login's US futures account when it has one.

When it does not work

Coinbase refused this key+

The key was made with Ed25519 instead of ECDSA, the name and the private key are from different keys, the PEM lost a line when copied, or the key lacks View or Trade. Make a new ECDSA key and paste both halves.

Prices show but orders are refused+

You chose prices without keys. Open the broker menu in While25 and add your Coinbase keys, or pick Coinbase again on the start screen.

Orders land in the wrong portfolio+

A key places spot orders in the portfolio it was created in. Choose another portfolio from the broker menu, or make the key inside the portfolio you trade.

Futures contracts are missing+

Coinbase futures need the separate US futures account on your login. Spot works without it.

I added an IP allowlist to the key+

Then the IP your orders leave from must be on it. Leave the allowlist empty unless you trade from one fixed address.

Straight from Coinbase

  • Coinbase · Advanced Trade APIs ↗
  • Coinbase · Creating API keys (ECDSA) ↗
  • Coinbase Developer Platform ↗

Trade on Binance as well? The Binance guide is the same shape. Want US stocks with free paper trading? Alpaca takes two minutes.