contractLibrary

Get Product Fee Params

Return the fee parameters for one or more products.

Available to: All authenticated users

Environments: Demo, Live

Rate Limit: 300 requests per hour, 1-second back-off, counts all requests

Return the per-contract fee and margin parameters for a set of products. Send a productIds array of numeric product IDs in the request body; this field is required. The response is a params array containing one ProductFeeParams object per resolved product, so it can be requested in a single batch rather than one product at a time.

Each ProductFeeParams object reports the cost components applied to trading a product, keyed by productId. The fee fields are: clearingFee, exchangeFee, nfaFee, brokerageFee, ipFee (the IP/TT fee), commission, and orderRoutingFee. Each fee has a paired *CurrencyId field (for example, exchangeCurrencyId) identifying the currency the amount is denominated in, since fees can settle in different currencies. The object also carries notional-value rates — commissionNotionalValueBPS and exchangeFeeNotionalValueBPS, expressed in basis points — and the margin requirements dayMargin, nightMargin, and the structured fullMargin (ProductMargin).

Resolve a productId from a contract with the ContractLibrary reads, such as contractItem or contractFind. Products without configured fee parameters are omitted from params rather than returned with zeroed fields, so the response length can be shorter than the productIds request.

Common Failure Scenarios

  • The productIds array is omitted or empty.
  • A supplied product ID does not exist; that product is omitted from the response.
  • The bearer access token is missing or expired.

Error Messages

This endpoint does not return a business errorText field. A failed request is signaled by the HTTP status; a successful request returns the params array.

post/contract/getproductfeeparams

Request

  • Base URL: https://demo.tradovateapi.com/v1
  • URL: https://demo.tradovateapi.com/v1/contract/getproductfeeparams
  • Auth: HTTP bearer

Request body

productIdsinteger[] required

Response

ProductFeeParamsResponse

Changes

No recorded changes to this operation across all 1 revision of this API.