Getting End-of-Day strategies executing closer to 4PM EST
Author: ktrade
Creation Date: 3/31/2020 3:33 AM
profile picture

ktrade

#1
I want to clarify how strategies execute on Daily Scale in the Strategy Monitor.

I can add a strategy to a DataSet, for example:

1) Add Strategy "ABC Breakout" to DataSet S&P 100.
2) Set Scale to Daily
3) Set Execute to 15:55 EST (Local time)

As I understand, this will cause the ABC Breakout strategy to:

1) Run at 15:55 EST
2) When the strategy runs, it will automatically update the daily data from DataSet S&P 100
3) Although the daily data has not officially closed the bar for the day, the close price will be the last price fetched after 15:55:00 EST
4) Trigger Alerts that can be placed for Auto Staging Orders

* Given the above is correct, is there a way to set the execute time to something closer to 16:00:00, but not after 16:00:00 without having to use an intraday minutes scale? Such as 15:58:00 EST.

* If the strategy was added already prior to 15:55 EST, say at 15:00 EST, but I change the DataSet at 15:45 EST, will the ABC Breakout strategy execute at 15:55 EST on the new DataSet. In other words, does the strategy execution fetch the symbols in the DataSet each time it runs?

profile picture

Eugene

#2
Kev Huu, your interest to WLP is nothing short of marked for someone who has just registered on our website (and hasn't started a free evaluation). But in your country of residence WLP isn't available. Please create a support ticket to verify your WLP entitlement:

https://www.wealth-lab.com/Support/Create

profile picture

ktrade

#3
Please check the ticket I just sent for a screenshot of my login into WLP.

I just need some questions answered-- trying to both assess and try it in trading before the 30 days trial runs out. This is a serious inquiry.

profile picture

Eugene

#4
Point taken.

1) Run at 15:55 EST
Correct.

2) When the strategy runs, it will automatically update the daily data from DataSet S&P 100
Yes, up to yesterday's complete bar (exceptions apply)*

3) Although the daily data has not officially closed the bar for the day, the close price will be the last price fetched after 15:55:00 EST
The close price will be yesterday's price because the Fidelity data does not include the incomplete bar for today a.k.a. "partial bar".

4) Trigger Alerts that can be placed for Auto Staging Orders
Sure.

QUOTE:
Given the above is correct, is there a way to set the execute time to something closer to 16:00:00, but not after 16:00:00 without having to use an intraday minutes scale?

There is a way:

* You can find a EOD provider that updates its data during the day i.e. includes the partial bar. A prominent example of such data provider is Yahoo. Partial bar in its data is enabled on the Data Manager's Yahoo! tab. However, usually such data is delayed so you risk getting the data for 15:40:00.

QUOTE:
If the strategy was added already prior to 15:55 EST, say at 15:00 EST, but I change the DataSet at 15:45 EST, will the ABC Breakout strategy execute at 15:55 EST on the new DataSet. In other words, does the strategy execution fetch the symbols in the DataSet each time it runs?

I can say that this is an unsupported scenario that sounds error-prone. And one doesn't want that when trading real money.
profile picture

ktrade

#5
Thanks for the information.Much appreciated.

For the Daily Scale Strategy Scheduling options, it shows increments of every 5 minutes. See attached screenshot.

There's no way to trigger the schedule at exactly 15:58:00 on the Daily Scale.

I guess I would need to run the strategy on 1 minute scale, and then have something in the scripting that checks for the computer time for 15:58:00. Is this correct?

profile picture

Eugene

#6
QUOTE:
I guess I would need to run the strategy on 1 minute scale, and then have something in the scripting that checks for the computer time for 15:58:00. Is this correct?

If your strategy is Daily, it would require a rewrite of the system's logic to run on an intraday scale.
profile picture

Cone

#7
A note with respect to WL Pro's Fidelity Provider for Daily bars.. the Fidelity provider will not update a static Daily bar during the trading session. If you need to fire of a trade with Wealth-Lab in mid session, the strategy will need to work with intraday bars (which could be scaled to Daily). Alternatively, a different provider, like IQFeed would work.

Also, for more than 20 symbols I wouldn't plan to use the Strategy Monitor with intraday scales less than 5-minutes. The problem is that the way the data are updated takes too long (several minutes for 100 symbols). If you missed the open and have to start the S. Monitor in the middle of the day, the S. Monitor will never "catch up".

Aside: (I'm going to ramble on here a bit while I'm thinking of it...)
The WealthLab DataStore really needs a new way to cache intraday bars whose data files become larger than a few megabytes. Maybe the answer is to split the files into pieces such that the most recent data (a few months) occupies a small lightweight file that can be easily manipulated and older historical data could continue to reside in one of those 75MB files that are only read-accessed as required.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).