Saltar para o conteúdo
Todas as fontes

Phemex no TaxChain

Ainda não disponível

O TaxChain ainda não consegue importar Phemex. Esta página diz o que existe e o que falta.

Esta página está em inglês, para dizer exatamente o que dizem a documentação da plataforma e o código do TaxChain. Os títulos e o resto do site estão no seu idioma.

A global exchange for spot trading and perpetual contracts. TaxChain has an API connector for it, through CCXT, that reads spot trades, deposits, withdrawals and converts, but it is not offered in production: it runs only on a test stack against Phemex's testnet, and it has not been checked against a real account. TaxChain reads no Phemex file, and nothing from the contract account.

Formas de importar

  • Envio de ficheiroPode ser adicionado

    Phemex history exports (spot trades, conversions, deposits, withdrawals, contract closed P&L)

    Phemex's website exports spot trade history, conversion history, deposit and withdrawal history, and closed P&L for contracts, each as a file. Tax tools describe a custom range of at most three months per file, or a report generated for a longer period [1] [2].

    TaxChain has no reader for any of these files. Phemex does not publish their columns, so building one needs a real export of each.

    A file reader is the realistic way to cover more than the last three months of deposits and withdrawals, and the contract account (see the API notes).

  • Ligação por APIAinda não disponível

    CCXT `phemex` [3]

    An API key and its secret, with read-only access. Do not allow trading or withdrawals. No passphrase.

    Not offered in production. It is enabled only on a test stack that connects to Phemex's testnet, where a seeded account can prove the paging. That run has not been done.

    Phemex documents `symbol` as required when listing spot fills [4]. TaxChain asks for all markets at once, without a symbol. If Phemex enforces its rule, the sync stops with an error at the first request and imports no trades. It does not fall back to asking market by market. Not checked against the live venue.

    Phemex documents `currency` as required on its deposit and withdrawal lists, and says their data is "limited to 3 months" [5]. TaxChain sends no currency. If Phemex enforces the rule, the sync stops with an error. Even when it works, the API cannot return deposits and withdrawals older than three months.

    Phemex lists history with offset paging and documents no sort order. The sync pages by time instead, which works only if Phemex returns the oldest rows first. If it returns the newest first, only the newest 100 trades are read.

    Only the spot account is read. Phemex's contract endpoints (fills, closed P&L, funding fees) are not requested.

  • Endereço da carteiraNão disponível

    None

    An exchange account has no public address of its own to read. Your own wallets that send to or receive from Phemex can be added as chain sources.

O que é lido

OperaçãoEstado
Spot tradesThrough the API connector, which is not offered in production. Each fill becomes a buy or sell with both sides, amounts unscaled from Phemex's integer format using its public market list. The sync may read none if Phemex enforces its required `symbol`, and only the newest 100 if it returns pages newest first.Lido em parte
Trading feesIn the currency the fill names. A fee paid with Phemex's own PT token is recorded as a PT fee.Lido
Deposits and withdrawalsCompleted ones only, with the withdrawal fee beside the amount. Phemex's API returns only the last three months, and documents a currency filter the sync does not send. Phemex does not say whether a withdrawal's amount includes its fee; it is read as given.Lido em parte
ConvertsRead from Phemex's convert history as a swap of the coin given for the coin received. Two converts of the same pair in the same second are kept as one, because Phemex's own id for each (`linkKey`) is not used.Lido em parte
Perpetuals: realised P&L and fundingPhemex's API has contract fills, closed P&L and funding fees, but the sync does not request them. Contract fills are refused if they ever arrive, since they are not spot trades. Add the results by hand.Não lido
Transfers between the spot and contract accountsNothing changes hands, but since the contract account is not read, money that went to contracts and came back with a profit or loss is not reflected.Não lido
MarginBorrowing and interest are not requested.Não lido
Earn / interest and stakingCCXT offers no Phemex earn or ledger history, and the sync reads none.Não lido
Bonuses, rewards and referral payoutsNo Phemex ledger is read, so income credited this way is missing.Não lido

Limitações

  • The API connector is not offered in production, and TaxChain reads no Phemex file. Until either is, add your Phemex history with the TaxChain CSV template.
  • If Phemex enforces the parameters it documents as required, the connector imports nothing: it would need to ask per market for trades and per currency for deposits and withdrawals.
  • Phemex's API keeps only three months of deposits and withdrawals. A full history needs Phemex's own export files.
  • The contract account (perpetual P&L, funding, fees) is not read at all.
  • Earn, staking, bonuses and referral income are not read. Missing income does not stop a calculation, so check your Phemex statements for it.
  • Authorisation: Phemex is not on ESMA's register of crypto-asset service providers authorised under MiCA, as checked on 20 Nov 2026 [6]. Phemex restricts some countries in its terms; check whether you may use it where you live.

Como foi verificado

  • 20 de novembro de 2026Phemex's documented responses for spot fills, deposits, withdrawals and converts, read through CCXT's parser and TaxChain's normalizers: integer amounts unscaled with the live market list, both sides of each fill, the fee in its own currency, completed movements only, converts as swaps. A perpetual fill from CCXT's own recording is refused.
  • 20 de novembro de 2026The sync run against a fake server that follows Phemex's documented required parameters. It stops with an error rather than reporting success, and imports no trades or movements. Kept as expected failures, with the newest-first paging case and the convert id collision.
  • 20 de novembro de 2026Phemex's public, keyless product list read (2,070 markets through CCXT), and its testnet's public time endpoint answered.

O que o tornaria Verificado

Make the sync ask for spot fills market by market and for deposits and withdrawals currency by currency, and page by offset rather than by time; key converts by Phemex's `linkKey`.

Run a sandbox sync against a seeded Phemex testnet account and confirm it reads the whole history.

Then reconcile a real Phemex account, or Phemex's own export files read by a new reader, through the engine. Deposits and withdrawals older than three months can only come from the files. None has been supplied.

Como adicionar

  • On phemex.com, export your spot trade history, conversion history, deposit history and withdrawal history, and closed P&L if you traded contracts, for every period you held an account [1].
  • In TaxChain, open Wallets, choose Add source and pick the TaxChain CSV template.
  • Copy each trade, convert, deposit and withdrawal into the template, one row per event, and upload it. Add contract results and any rewards by hand.

Referências

  1. [1]Phemex integration. Coinpanda. Export steps for spot trades, conversions, deposits, withdrawals and closed P&L; custom range up to three months per file.
  2. [2]Phemex file import guide. CoinLedger. Generate History Report for spot trades, deposits and withdrawals.
  3. [3]CCXT 4.5.93, phemex exchange class. CCXT. fetchMyTrades (spot by default), fetchDeposits and fetchWithdrawals (no currency, since or limit sent), fetchConvertTradeHistory, fetchFundingHistory per contract; no fetchLedger; testnet URLs.
  4. [4]Phemex Public Spot API. Phemex. GET /exchange/spot/order/trades (deprecated; `symbol` required) and GET /api-data/spots/trades (`symbol` required, two days by default, limit 200 at most).
  5. [5]Phemex API reference. Phemex. Deposit and withdrawal lists (`currency` required, "Response data is limited to 3 months"), convert history (`startTime`/`endTime`, offset, limit 20 by default and 200 at most), USDT-M trades and closed P&L (last 90 days), funding fees, testnet.
  6. [6]Interim MiCA register: authorised crypto-asset service providers. European Securities and Markets Authority. CASPS.csv read on 20 Nov 2026: no Phemex entity listed. Phemex is not on the non-compliant entities list either.

Última verificação face à documentação da plataforma e ao código do TaxChain em 20 de novembro de 2026.