Can You Set a Time Limit for Trades in TradersPost?

Fact checked by
Mike Christensen, CFOA
January 26, 2025
TradersPost does not support automatic time-based trade exits, but traders can implement this in TradingView Pine Script or use broker-specific expiration settings like OSO orders in TradeStation.

Is There a Way to Automatically Close a Trade After a Set Time?

Currently, TradersPost does not have a built-in feature to automatically close a trade after a specific time, such as 15 minutes. However, traders can implement this functionality within their TradingView Pine Script strategies.

Workarounds for Time-Limited Trades

1. Use Pine Script in TradingView

• Add logic to your script to exit a trade after a set time (e.g., 15 minutes).

• Send an exit signal to TradersPost when the time limit is reached.

2. OSO (Order Sends Order) with Expiration (Broker-Specific)

• Some brokers, like TradeStation, support OSO orders with an expiration timestamp.

• This allows traders to set an exact expiration time for limit orders.

• However, most brokers do not support this feature, making it difficult to implement universally.

Why This Feature Is Challenging to Implement in TradersPost

Broker API Limitations – Few brokers support order expiration with minute-level precision. Most only allow expiration in days (Good-Till-Date orders).

Feature Complexity – Implementing this across multiple brokers would require different solutions for each one, making maintenance difficult.

Prioritization – TradersPost focuses on features that benefit the majority of users, and this request is more niche.

Conclusion

While TradeStation and a few other brokers may support time-limited trades, TradersPost does not currently offer this feature. The best solution is to handle time-based exits in Pine Script or use broker-specific expiration settings where available.

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