commission
field.
Cost Plus Pricing: Separates fees into two components:
commission
: The Prime trading feeexchange_fee
: External exchange fees passed directly through to the clientcommission
and exchange_fee
fields to calculate your total trading costs.
The examples below demonstrate All In Pricing structure. For Cost Plus pricing, both commission
and exchange_fee
fields would contain values, and both must be included when calculating total trading costs.
quote_value
- The original order size in quote units from your order requestfilled_value
- The actual amount of quote currency used to purchase the asset (after fees)commission
- The Coinbase Prime trading fee for this order (calculated as quote_value
- filled_value
for FILLED
orders)filled_quantity
- The amount of base currency (i.e. BTC) actually purchasedaverage_filled_price
- The average execution price before feesnet_average_filled_price
- The effective price per unit including feesbase_quantity
- The exact amount of cryptocurrency you requested to buy/sellfilled_quantity
- The actual amount of cryptocurrency bought/sold (matches your request)commission
- The Coinbase Prime trading fee charged in quote currencyfilled_value
- For buys: total quote spent; For sells: quote proceeds; The fee is NOT included here.average_filled_price
- The average market execution price before feesnet_average_filled_price
- The effective price per unit including feesis_raise_exact
)
Quote sells support an optional is_raise_exact
boolean parameter that controls how fees affect your proceeds:
is_raise_exact: true
- You receive exactly the requested quote amount. For example, selling “100 USD of XRP” with is_raise_exact: true
means you receive exactly 100 USD, and Prime automatically increases the amount of XRP sold to cover trading fees.is_raise_exact: false
or omitted - You receive the requested quote amount minus trading fees. For example, selling “100 USD of XRP” without is_raise_exact
means you will receive 100 USD minus fees.