Why my Fidelity data has 1-day delay?
Author: doggy
Creation Date: 5/21/2019 6:47 AM
profile picture

doggy

#1
Is there always a delay for WLP(6.9)? My scale is Daily, and today is 5/20/2019. I am supposed to see the bar on today. Instead, the chart only shows that the bar ends at 5/17. Is this by design? The data provider is Fidelity.
profile picture

Eugene

#2
Before anything else, here's something to keep in mind w.r.t. Fidelity data if you wish to have it updated after market:

Fidelity Static Provider Data Corrections

That aside, have you updated the data? Highlight a DataSet in the Data Manager, click "Update DataSet". Do you see the 5/20/2019 data in the DM now?

There's a convenient way to do it automatically (active by default) but it's not always recommended due to a slight slowdown in backtest Strategy processing: Data Manager > Update Data > On demand data updates > [v] Automatically update data...

P.S. Do you have WLP entitlement from Fidelity?
profile picture

LenMoz

#3
I have Fidelity data through 5/20, updated this morning, 5/21, at 6:00 a.m. (as is my habit). "On demand data updates" is unchecked. I'm running WLP 6.9.19 64-bit Build 1. I've never seen this problem.

Len
profile picture

doggy

#4
Thanks @Eugene and @LenMoz. I don't see this problem on 21 and 22 either. It's weird. I'll report if I get another repro.

@Eugene, thanks for your quick response. I'm a fidelity customer. My trading history and account balance are qualified to use wealthlab, so they granted me the access.
profile picture

Cone

#5
Hi doggy,
WLPro isn't like ATPro, which always gives you charts with the latest data. That's because WLP caches data locally quickly load it for multi-symbol backtests (MSB).

Consequently, there are several controls to be aware of, the most import one Eugene mentioned: "Update Data On-demand" (UDOD).
You can find this switch in 2 places:

1. File menu > Update data On-demand
- or -
2. Data Manager > Data Update tab > On Demand Data Updates (lower right corner)

My general advice for UDOD is to turn it on during the market session to get up-to-date charts always. Otherwise turn it off for developing and backtesting strategies to avoid sending requests for new data one symbol at a time - that will give you the impression that backtesting with 100 or 500 symbols is very slow.

Another important setting to be aware is scheduled Automated Data updates, also found in the Data Manager > Data Update tab. You should schedule Fidelity Provider updates after 5:00 AM to avoid the issue described here.

Finally, be aware that you control how much data in the Data Loading control. Be careful with the Date Range setting - these control are "sticky" and remember the last setting. If you using small interval intraday data, avoid loading "All Data", which will take several seconds to load even from the cache. It's better to load the last 1000 or 5000 bars, for example.
profile picture

doggy

#6
I got the issue again. I don't get the bars on 5/28 for AAPL, MSFT, GOOGL, and so on. Even after I updated the data from data manager, the bars still end on 5/24.

Then I switched to my laptop. I updated the data just right after opening WLP. Then I got all bars on 5/28 for those symbols.

My guess is: WLP has some transient issue to update the latest bar on demand, and then the dirty cache cannot get updated. So I have to wait for another day.
profile picture

Eugene

#7
QUOTE:
So I have to wait for another day.

Not quite. You can force update by installing the Data Tool addin, restarting WLP, and truncating the last bar as instructed in its online user guide.
profile picture

superticker

#8
Once the On-Demand Update occurs for current trading day, the static data provider will not update again for that day. So you could have a stale price value for that day. You have two options:

1) Use the Data Tool as described in Post# 7. You only need to truncate to the most recent daily bar.

2) Do nothing, so when you update on the day after, the static data provider will automatically correct that earlier price from the previous day. I "think" it looks back 2 (maybe 3) bars for corrections, so as long as you download daily bars every other day, you should catch all the corrections automatically without using the Data Tool.

When you go through the static data download log, you'll see "bar(s) corrected" letting you know about the old price updates.
profile picture

Eugene

#9
@doggy

By what time of day do you update the data?
profile picture

doggy

#10
Well, around 9:44 PM PST 6/3/2019, my pc and laptop cannot update the symbols through data manager.
profile picture

Eugene

#11
Like suggested by Cone, try to schedule updates after 5:00 AM next day.
profile picture

doggy

#12
The following hint works:

(If you need to correct AAPL for today, just right click and reload the chart.)

Wondering why WLP don't do it automatically.
profile picture

Eugene

#13
Using the Data Tool as I suggested in post #7 lets you do this without reloading the whole historical data (and also for the whole DataSet).

Not sure why the corrections aren't being applied automatically. Maybe there's a clue in your regional settings, time zone etc. Not enough information to tell.

At any rate, consider rescheduling your updates to 5-6am next day.
profile picture

Cone

#14
QUOTE:
Wondering why WLP don't do it automatically.
It's a caching thing. The Fidelity Provider doesn't refresh Daily bars on-demand after the session is closed. Wealth-Lab caches data locally to load lots of data backtests much more quickly. Not all providers work this way however; it's a tradeoff.
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).