Back to Webhook Messages
Webhook Messages

Invalid Order Type

The provided orderType is invalid. The orderType field must be one of the following values: market, limit, stop, stop_limit, or trailing_stop.

This message indicates that an invalid orderType was provided in the request. TradersPost requires that the orderType parameter be specified as one of the following values: market, limit, stop, stop_limit, or trailing_stop. Any other value will be considered invalid and the request will not be processed.

Here is an example of a valid request with the orderType parameter specified correctly.

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "price": 100.01
}

Ready to put Invalid Order Type to work?

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

By continuing, you agree to the TradersPost Terms of Service and Privacy Policy. This site is protected by reCAPTCHA.