Reading WL binary files
Author: adrian50697
Creation Date: 2/5/2016 9:23 AM
profile picture

adrian50697

#1
Hi, what is the binary structure of WL files?
I understand that the wiki explains how WL4 binaries are structured but I cannot seem to decode the structure of the latest WL files.

Thanks
profile picture

Eugene

#2
Hi Adrian,

The structure is not documented. But why do you think you need that? There's convenient Bars.LoadFromFile method - check out the QuickRef example.
profile picture

adrian50697

#3
Hi Eugene, I am aware of this method - however I am interested in constructing my own WL files in the exact same structure as the current version WL files, mainly because of the speed of reading from binary rather than csv data.
profile picture

Eugene

#4
In this case, you can simply call its companion SaveToFile method.
profile picture

adrian50697

#5
Hi Eugene, I am trying to create my own WL files outside of Wealth Lab. Could you please inform me what the binary file structure is?

profile picture

Eugene

#6
As I said, the structure is not documented. Whatever you don't find covered in the QuickRef, User Guide and and Development Guide, is not supported.

To create your own WL files outside, reference WealthLab.dll and call SaveToFile (note that your usage will also be unsupported).
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).