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 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
}

Start trading at scale today. Sign up for free.

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

Start now