Webhook Message

Invalid Order Type

Invalid orderType provided. Order type must be one of: market, limit, stop, stop_limit, 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 automate your trading? Sign up for free today.