Back to Webhook Messages
Webhook Messages

Invalid Bid Ask Spread Filter Amount And Percent

The bid-ask spread filter configuration is invalid. You cannot specify both an amount and a percent for the bid-ask spread filter. Use either bidAskSpreadFilter or bidAskSpreadFilterPercent, but not both.

This message indicates that both bidAskSpreadFilter and bidAskSpreadFilterPercent were provided in the request, which is not allowed. TradersPost requires that you specify only one bid-ask spread filter mode per signal.

Use either bidAskSpreadFilter (dollar amount in the quote currency) or bidAskSpreadFilterPercent (percent spread cap), but not both.

Invalid bid-ask spread filter example:

{
    "ticker": "AAPL",
    "action": "buy",
    "bidAskSpreadFilter": 0.02,
    "bidAskSpreadFilterPercent": 0.5
}

Valid bidAskSpreadFilter example:

{
    "ticker": "AAPL",
    "action": "buy",
    "bidAskSpreadFilter": 0.02
}

Valid bidAskSpreadFilterPercent example:

{
    "ticker": "AAPL",
    "action": "buy",
    "bidAskSpreadFilterPercent": 0.5
}

Ready to put Invalid Bid Ask Spread Filter Amount And Percent 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.