Back to Webhook Messages
Webhook Messages

Invalid Market Price Type

The provided marketPriceType value is invalid. The marketPriceType field must be one of the following values: ask_bid, mark, ask, bid, or last.

This message means marketPriceType in your webhook JSON is present but not a supported value. It must be one of: ask_bid, mark, ask, bid, or last. Omit the field if you want TradersPost to use Entry market price type or Exit market price type from the subscription (depending on the order).

Valid example:

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "marketPriceType": "bid"
}

Ready to put Invalid Market Price 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.