VALENTINE’S SALE: ON. Take 30% off with code BEMYVALENTINE30 and show your trading some love before it expires.
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.