ww58
- ago
Even if set aside these strategies and don't dig any further, the only thing that remains it's that bar hisotry data is undeletable.
0
297
Solved
11 Replies

Reply

Bookmark

Sort
Cone8
 ( 24.56% )
- ago
#1
Re: Undeletable
Please post an image of the Data Manager, just before you click the Perform Truncation button.

.. and keep in mind that if you have a Strategy Window open and have run a backtest, that data will still be there, ready for another test - even though you deleted the disk file cache!
0
ww58
- ago
#2


No backtest, even restarted the program
0
- ago
#3
I think we have a clue here: the tickers all have a special symbol (dot) in them. I'll take a look.
0
- ago
#4
I was able to truncate a non-IB Forex DataSet with '/' as the separator char. Not sure why it stumbles on IB with '.'
0
Cone8
 ( 24.56% )
- ago
#5
The issue is that a "60-minute" DataSet doesn't exist. It's a long story, but you can't imagine how much trouble "hourly bars" have caused WealthLab in the last 20 years.

Making that long story short, the data is actually stored as 30-minute bars. Select 30 minute bars if you really want to delete them.

0
Best Answer
ww58
- ago
#6
I'm a little embarrassed about these mistakes, they still keep coming up from time to time. The goal is to test for a longer timeframe.

Steps:
Wanted to delete current data.
Pressed truncate, reopened it again - it was not deleted
Okay, just ran it at a longer interval
No error in logs, nothing, just tested in what is there, which is the last 2 years.



I already mentioned in another thread about pre-flight check, which is missing. For example in my case, I do not understand why there is no data for an earlier period, or the provider doesn't give it, or it's a program glitch or something else. Even later, I see visually that there were no tradess for a long period, so the problem is in the data, but I do not understand why and how to fix it.
0
- ago
#7
This is e an Unlinked DataSet you're truncating the data from. It does not contain the data but points to a data provider's storage which keeps it. Also, truncation is not what you're trying to achieve i.e. "Delete all data".
0
ww58
- ago
#8
Eugene, maybe deletion is not what I need, but I do not know another way to force reloading the data. Right now the program refuses to do that. And since there is a Truncate button, I suspect that it should delete the data no matter what, otherwise what's the point of it. It writes that the data is deleted, but it's not.
0
- ago
#9
Have you already followed Cone's solution in Post #5?
0
ww58
- ago
#10
Solution in Post #5 refers to the 60 minute bars. Otherwise, as seen in the second frame, there is written that 16455 bars were removed. Also tried to remove in the same way as in post 5, similarly does not remove.
0
Cone8
 ( 24.56% )
- ago
#11
You didn't do it in the same way.
- I selected "Delete All Data".
- You selected "Delete Data Before".

In the latter case, there seems to be a bug if result would remove "all data".

Edit -
It turns out it's by design not to write a 0-bar data file, but we can improve the messaging for that case. In short, use "Delete All Data" if that's the goal.
0

Reply

Bookmark

Sort