Position Management
The portfolio occupies the right panel of the interface. It allows you to track open positions and calculate real PnL based on historical funding rate data.
Portfolio Summary
The top of the panel displays:
| Indicator | Description |
|---|---|
| Value / Invested | Total value of all positions |
| Total PnL | Aggregate PnL across all positions (green = profit, red = loss) |
Position Cards
Each position is shown as a card with the following information:
- Symbol — the ticker name
- Exchanges — long exchange and short exchange
- Amount — investment size ($)
- Token Quantity — number of tokens
- Entry Date — when the position was opened
- PnL — current profit or loss
Each card provides edit and delete actions.
Adding a Position
From the Ticker Details Panel
The fastest method — click + Portfolio in the Ticker Details view. The long and short exchanges will be pre-filled with the best pair from the current analysis.
Position Form Fields
When adding a position, fill in the following fields:
| Field | Description |
|---|---|
| Long Exchange | Exchange for the long side (pre-filled from ticker analysis) |
| Short Exchange | Exchange for the short side (pre-filled from ticker analysis) |
| Amount ($) | Investment amount in US dollars |
| Token Quantity | Number of tokens in the position |
| Opening Cost | Costs incurred when opening the position (trading fees, slippage) |
| Entry Date | Date the position was opened |
Linked Fields: Amount and Token Quantity
The Amount and Token Quantity fields are linked. Change one and the other recalculates automatically using the current token price. The price is fetched from exchange APIs or CoinGecko.
Updating PnL
Click the ↻ (refresh) button to recalculate PnL. The update process:
- Fetches funding rate history from the backend for the period between the entry date and the current moment
- Calculates real PnL using Riemann sum integration of hourly funding rates
- Fetches current token prices from exchanges
For the full PnL formula, see Formulas & Calculations.
Opening Cost
The Opening Cost is subtracted from PnL. Make sure to account for trading fees on both exchanges and any slippage incurred when opening the position.