For the most up to date trading fee schedule, please go our Trade Fees article.
The standard maker fees on dYdX are 0 bips for spot and margin markets and -2.5 bips (rebate) for perpetual markets.
Taker fees are variable on dYdX. For perpetuals, they are the higher of 15 bips or the gas required for dYdX to execute the transaction. For spot + margin, they are the higher of 20-30 bips (depending on the market) or gas required.
Borrowing rates float depending on supply and demand and can be found on the Markets page.
Deposits and Withdrawals
There are no fees associated with deposits or withdraws on dYdX. However, the user is responsible for the gas cost of the deposit/withdraw transaction.
5% of all interest payments from borrowers are set aside to fund an insurance pool for the protocol. The rest of the interest payments are forwarded to lenders (prorated by the amount each lender is lending). The rate showed to lenders on the UI is the rate lenders receive; the 5% is already accounted for.
Liquidating a position requires a trade whereby the collateral of the position is sold to repay the borrowed funds. This trade carries a 5% price spread fee.
Expiring a position requires a trade whereby the collateral of the position is used to repay the borrowed funds. This trade carries a 1% price spread fee.