Tradewaysdocs

Trade Adjustments

Reference for trade adjustments in Tradeways — swaps, dividends, funding fees, borrow fees, and commissions attached to individual trades.

Trade adjustments are monetary charges or credits attached to a specific trade. They cover costs and income that occur alongside a position but are not part of the core price-based P&L. Tradeways tracks them separately so you can see both gross and net profitability per trade.

Trade detail adjustments section showing swap, commission, and dividend entries
Trade detail adjustments section showing swap, commission, and dividend entries

Each adjustment carries a type, an amount, a currency (ISO 4217), and the date it was applied. An adjustment that you add by hand on the trade detail page uses the account currency. Imported adjustments keep the currency the broker reported.

Adjustment Types

TypeDirectionDescription
SwapCredit or debitInterest differential charged or credited for holding a position overnight (common in forex and CFDs).
DividendUsually creditCash dividend received (or debited for short positions) while holding an equity or CFD position.
FundingCredit or debitPeriodic funding rate payment on perpetual futures or crypto positions.
BorrowDebitFee for borrowing shares or assets to sell short.
CommissionDebitBroker commission imported alongside the trade. See note below on commission handling.

How Adjustments Affect P&L

In currency P&L mode, the net P&L formula is:

netPnl = grossPnl - commission + sum(non-commission adjustments)

Non-commission adjustments (swap, dividend, funding, borrow) are summed and added to the gross P&L after commission is subtracted. Commission adjustments are handled separately because Tradeways also supports rate-based commission modelling (see the note below).

In tick-based display modes (Ticks 1 Lot, Ticks Sized), adjustments are not included because they are money-domain values that cannot be expressed in instrument units.

Commission Handling

Commission can come from two sources:

  1. Rate-based commission — configured per symbol, per exchange, or as a default rate in account settings. The cascade is: per-symbol rate > per-exchange rate > default rate > 0.
  2. Commission adjustments — imported from broker data as adjustment entries on the trade.

Commission adjustments take precedence. When the trade has at least one commission adjustment, Tradeways uses the sum of those adjustments and ignores the configured rate. The configured rate applies only when the trade has no commission adjustment. The two sources are never double-counted.

The sum uses the absolute amount of each entry, so a commission recorded as a positive number and one recorded as a negative number both count as a cost. A commission adjustment in another currency with no exchange rate for its date is left out of the sum.

Cross-Currency Adjustments

Adjustments carry their own currency, which may differ from the account settlement currency. When computing P&L, cross-currency adjustments are converted using the exchange rate for the date the adjustment was applied. If no rate is available for that date, the adjustment is left out of the total and the trade shows an "Excludes unconverted fees" marker.

Where They Appear

On the trade detail page, each adjustment is listed individually with type, amount, currency, and date. In all currency-mode P&L calculations (dashboard, trade log, daily/weekly/monthly summaries) adjustments are included in the net total. Many broker import formats include swap, commission, and dividend data that is automatically mapped to the corresponding adjustment type.

See Also

On this page