💸 Take advantage of our once-a-year Black Friday 40% off event for new subscribers or when upgrading your plan with code BF402025. Don't miss out!
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
}

Ready to automate your trading? Sign up for free today.