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

Fact checked by
Mike Christensen, CFOA
February 2, 2025
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.

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.

Ready to automate your trading? Try a free 7-day account:
Try it for free ->