Join us live for TradersPost Tutor Sessions today at 1pm EST. Join us to learn, ask questions, and level up your automation game. Watch on YouTube
Webhook Message

Invalid Quantity Type For Asset Class

The provided quantityType is invalid for the strategy asset class. Dynamic quantity calculation methods such as dollar_amount, risk_dollar_amount, risk_percent, and percent_of_equity cannot be used with the futures asset class.

This message indicates that the quantityType provided in the request is invalid for the configured asset class in the webhook. TradersPost requires that the quantityType be compatible with the asset class being traded. If the quantityType is not applicable to the asset class, the request will be denied.

For example, if Asset class is set to Futures on your webhook, the following quantityType values cannot be used:

  • dollar_amount
  • risk_dollar_amount
  • risk_percent
  • percent_of_equity

Because the buying power used when trading futures is calculated using broker specific margin requirements, we are not able to dynamically calculate quantities for the futures asset class because our system is not currently aware of the margin requirements for each ticker and broker.

Start trading at scale today. Sign up for free.

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

Start now