Skip to content

Blog · TradingView · Exchange guide · updated 2026-09-25

Connect Phemex to TensorTrader: API key + secret, paper first

Create a trade-only Phemex key, save it in TensorTrader on paper first, and see what works on Phemex today, including TradingView alert execution.

Phemex and TensorTrader

Phemex is a derivatives-focused centralized exchange with USDT perpetuals and a testnet for paper trading.

This guide shows exactly what Phemex needs from you, how to create it without withdrawal permission, how to save it in TensorTrader on paper first, and what TensorTrader can do on Phemex today. Once connected, TradingView alerts can size, place and protect perpetual orders on your own Phemex account.

At a glance

status
Live-ready, paper first
type
CEX
markets
perps · spot
venue max leverage
100x
credential
API key + secret

Create a trade-only Phemex key

  1. 1Open your exchange, then Account / API management.
  2. 2Create a new API key. Name it TensorTrader.
  3. 3Turn ON trade or futures permission. Leave withdrawals OFF.
  4. 4If the exchange shows an IP allow-list, leave it open or add this server after you know the outbound IP.
  5. 5Copy the API key and secret now. Most venues show the secret only once.
  6. 6Paste them below. TensorTrader saves them as paper/testnet first.
allow
Trade / futures · Read account / positions
never
Withdrawals · Transfer / internal send · Account login or 2FA codes · Transfers / internal sends · Your login password or 2FA codes

Save the Phemex key in TensorTrader

Verification is a real call to the exchange, not a format check. A key that verifies but reads a zero balance usually points at the wrong wallet (spot instead of futures) or an unfunded demo account.

  1. 1Sign in and open Settings (the tab on the right edge), then the Exchange Auth tab.
  2. 2Pick Phemex from the venue list.
  3. 3Leave the key marked as testnet / paper. New keys always start there; live is a separate opt-in after preflight.
  4. 4Paste the API key and the API secret.
  5. 5On a live-ready venue, testnet credentials save and verify on their own a moment after you stop typing ("Paper/testnet credentials save automatically"). Elsewhere, press Save & Verify. The status turns green and your balance appears when the key works.
  6. 6If the venue offers more than one wallet or account, pick the one TensorTrader should trade from in the wallet picker.

What works on Phemex today

Phemex passed TensorTrader's parity checklist: balances, margin, fills, reconcile and fill-based profit booking all verified on paper before the venue was switched on.

key storage + verification
Yes: the key is checked with a real call to the exchange.
TradingView alert execution
Yes, paper first.
live-ready (paper-first parity checklist)
Yes.
paper / testnet path
Phemex testnet through CCXT sandbox mode.

If the Phemex key does not verify

TensorTrader treats authentication errors as errors and stops. It never reads a dead Phemex key as an empty account.

invalid key
Usually a live key saved as testnet, or the reverse. Match the key to the environment.
IP restricted
The key is locked to other IP addresses; clear the allow-list or add the server’s outbound IP.
zero balance
The key works but the account or wallet it trades is empty, for example funds in spot instead of futures.
permission denied
Trade permission is off; edit the key on the exchange and enable trading (never withdrawals).

Your first Phemex order from the Chrome extension

Orders reach Phemex through TradingView alerts. The TensorTrader extension builds those alerts for you: open TradingView, open the extension side panel, and use the Batch Create tab. Pick this Phemex key in step 1 · Exchanges, type your tokens, choose an indicator or strategy from your TradingView favorites, review the plan and press Create.

When an alert fires, TensorTrader sizes the order, clamps leverage to the lower of your policy and the venue maximum, places it on your key and shows the fill on your dashboard.

Beta Pioneer: 90 days, plus seats to share

A verified trade-only Phemex key makes you a Beta Pioneer: your free beta runs 90 days instead of 30, and you get an invite code with 90-day seats for other traders. The code has 5 seats while we are still finishing a venue, and 2 once it is complete.

Find the code under Settings → Community and use "Copy invite link". Each seat gives a new account the same 90-day beta.

Frequently asked questions

Does TensorTrader need withdrawal permission on Phemex?
No. Leave withdrawals and transfers off. TensorTrader only needs to trade and read your account.
Can I test Phemex without real money?
Phemex testnet through CCXT sandbox mode.

Keep reading

Not financial advice. Performance figures are TensorTrader testnet or backtest results with the method stated; past results do not predict future returns.

All guides · Start on paper · Pricing