Webhooks & API

Can You Send a JSON Message to Close All Positions in TradersPost?

TradersPost does not support a single JSON command to close all positions. Traders must send individual exit commands per ticker, though a global exit feature may be considered in the future.

Tom Hartman

Marketing

1 Min Read Reviewed by Mike Christensen Fact-checked by Mike Christensen
BluSky — The Future of Trading. Prop firm futures trading. Sign up at BluSky.pro.

‍Is There a Single JSON Command to Exit All Positions?

Currently, TradersPost does not support a single JSON message to close all open positions across all tickers. Instead, traders must send an “Action=Exit” command for each individual ticker they want to close.

Why Doesn’t TradersPost Have a “Close All” Command?

1. TradersPost processes trades per ticker, meaning all trade actions are linked to specific symbols.

2. Preventing accidental exits – A single command closing all positions could lead to unintended trade closures, causing potential issues for users.

Could This Be a Future Feature?

The team has considered adding a global exit command, potentially using a placeholder keyword like "Ticker=Star" to close all positions. However, this feature is not currently available, and its implementation would need safeguards to prevent accidental liquidation.

Conclusion

Right now, TradersPost requires separate exit commands for each ticker. While a global exit feature has been discussed, it is not yet available due to potential risks.

  • Webhooks & API Sep 16, 2026

    Resize Open Position Webhook Explained

    Learn how the resize webhook action sets your target position size and lets TradersPost calculate the difference order automatically.

  • Webhooks & API Sep 16, 2026

    Batch Signals: Five Trades in One Webhook

    Learn how batch signals let one webhook request carry up to five signals, when to use them, and how validation works before you go live.

  • Video
    Webhooks & API Nov 18, 2025

    Are JSON Properties Case Sensitive?

    JSON properties in TradersPost are case sensitive. Users should copy property names directly from the documentation to ensure correct formatting and avoid execution errors.

  • Webhooks & API Sep 3, 2025

    TradersPost vs Capitalise AI Comparison

    Comprehensive broker API comparison: access requirements, rate limits, and integration capabilities for automated trading.

Ready to put what you read into practice?

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.