Automatically close position before market close


Hi Pete,

I’m a day trader. I need help creating a script or conditional order on ToS to automatically close out any position I have open before market close. Sometimes I’m not available to manually close out those position and I don’t want to hold my position overnight.


Marked as spam
Posted by (Questions: 2, Answers: 3)
Asked on April 24, 2021 12:40 am
Private answer

Please take the time to search for existing solutions before posting a new question. The solution you seek is provided in the following post:

ps. Anyone that is working to solve this should really be contacting TD Ameritrade for assistance. There is no need to write any custom code and everything you need is already provided by using available tools on the platform.

Marked as spam
Posted by (Questions: 39, Answers: 3734)
Answered on April 24, 2021 10:32 am