OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
Barry Cohen

Sage
5000100010010010025
Posts: 6339
Online

Joined: 1/19/2004

User Profile
 
Subject : RE: AutoTrade ATM - Issue about EXIT Orders
Posted : 3/8/2018 12:42 PM
Post #44207 - In reply to #44206

I'll try to explain with an example.

Example 1 - Without updating portfolio during market hours...

Monday. Run ToDo List & submit orders before market open. Entry orders should be shown in Open Orders tab. Stops are not active or submitted yet.

Tuesday. Run ToDo List & submit orders before market open. The ToDo List downloads the data, runs analysis AND update's the portfolio for Monday's trade plans so that those initial orders execute & their associated stops become active (& may now show in the Open Orders tab) - essentially a day late. But since this is paper, it should retroactively close any of those trades that should've had exits triggering within the completed Monday bar. After all of this, then it submits new orders for Tuesday.

In that example, if you have AutoTrade updating the portfolio any time up to 8:50AM CST, it will have no effect as the data downloaded is delayed, so no new bar for Monday will not exist until Tuesday's data download. So you need to make sure Update Portfolio is done after 8:50AM CST.

Example 2 - With updating portfolio during market hours...

Monday. Run ToDo List & submit orders before market open. Entry orders should be shown in Open Orders tab. Stops are not active or submitted yet.

Say at 9AM CST, Update Portfolio runs the ToDo List which downloads the Monday bar's data & runs analysis. This will execute all your trades - so the stocks become open positions & the stop orders become active & could possibly trigger.

Tuesday. Run ToDo List & submit orders before market open. The ToDo List downloads the data, runs analysis AND update's the portfolio for Monday's trade plans. The Monday trades are already executed though, so all that happens for the Monday trades is the stops are tested again. Again since this is paper, it should retroactively close any of those trades that should've had exits triggering within the completed Monday bar. After all of this, then it submits new orders for Tuesday.

Deleting message 44207 : RE: AutoTrade ATM - Issue about EXIT Orders


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.