How to Check How Long a Position Has Been Opened

Want to exit or adjust a position after a certain period of time? Use this decision recipe to evaluate how long a position has been open and execute certain actions based on the duration.
Kirk Du Plessis
Aug 31, 2021

Managing a portfolio with many strategies makes it difficult to remember when you opened different positions. You may have management strategies depending on how long a position has been opened, but manually tracking all your positions has never been easy until now.

If you want to exit or adjust a position after a certain period of time, use this decision recipe to evaluate how long a position has been open. You can tell the bot to check if a position has been opened more than, less than, or exactly a specific time period and execute certain actions based on the trade’s duration.

You can use a repeater action inside any monitor automation to reference how long a position has been opened. If the position has been open for more or less than the defined days, the automation will follow either the “Yes” or “No” path. You can add decision actions to adjust or close the position.

For example, if you want to automatically close a position if it has been open for more than ten days, this recipe can automate the process for you. The recipe is advantageous if you want to manage total portfolio allocation or avoid certain events you’ve identified on the calendar. 

This decision recipe is a great tool to help you organize and track all your position’s timeframes. Now you can manage positions without having to check and react to them manually.  

Managing a portfolio with many strategies makes it difficult to remember when you opened different positions. You may have management strategies depending on how long a position has been opened, but manually tracking all your positions has never been easy until now.

If you want to exit or adjust a position after a certain period of time, use this decision recipe to evaluate how long a position has been open. You can tell the bot to check if a position has been opened more than, less than, or exactly a specific time period and execute certain actions based on the trade’s duration.

You can use a repeater action inside any monitor automation to reference how long a position has been opened. If the position has been open for more or less than the defined days, the automation will follow either the “Yes” or “No” path. You can add decision actions to adjust or close the position.

For example, if you want to automatically close a position if it has been open for more than ten days, this recipe can automate the process for you. The recipe is advantageous if you want to manage total portfolio allocation or avoid certain events you’ve identified on the calendar. 

This decision recipe is a great tool to help you organize and track all your position’s timeframes. Now you can manage positions without having to check and react to them manually.  

Trade smarter with automation