Binance Portfolio Tracking
Binance tracking gives you two layers of PnL: account-level adjusted PnL across your whole portfolio, and per-token cost basis using the zero-crossing algorithm.
How to Connect
Create a read-only API key in your Binance account settings. FinCobra needs:
- API Key
- API Secret
- Permissions: read-only (no trading or withdrawal permissions required)
What's Tracked
- Spot balances — all tokens in your spot wallet
- Flexible earn — tokens in Binance Simple Earn (flexible products)
Spot and earn balances for the same token are merged into a single balance for PnL calculation.
PnL Models
Account-Level — Adjusted PnL
Uses the adjusted PnL formula based on deposit and withdrawal flows. This tells you how much your overall Binance account has gained or lost.
Per-Token — Zero-Crossing Cost Basis
Each non-stablecoin token gets its own PnL calculated via the zero-crossing method. This tells you the cost basis and profit/loss of your current position in each token.
Transaction Types
The following transaction types are tracked and affect PnL:
| Type | Effect on Balance | Effect on Cost Basis |
|---|---|---|
| Deposit | Increases balance | Adds USD value to cost basis |
| Withdrawal | Decreases balance | Proportional reduction of cost basis |
| Trade (buy side) | Increases balance of bought token | Adds USD value to cost basis |
| Trade (sell side) | Decreases balance of sold token | Proportional reduction of cost basis |
| Earn subscribe | No effect | No effect (internal move to earn) |
| Earn redeem | No effect | No effect (internal move from earn) |
Earn subscribe/redeem are treated as internal movements between your spot and earn wallets — they don't change your total balance of a token, so they have no impact on cost basis.
Stablecoin Exclusion
The following stablecoins are excluded from per-token PnL: USDT, USDC, BUSD, FDUSD, TUSD, DAI, USDP. Their balances still count toward your account's total USD value.