How to merge data from different periods?
Author: sakhanovv
Creation Date: 12/20/2013 1:45 PM
profile picture

sakhanovv

#1
How to merge data from different periods. I have data for 2012 and 2013 in different files
profile picture

Cone

#2
What is the file format?
profile picture

Eugene

#3
ASCII data can be merged outside Wealth-Lab, like in a text editor or script. By coding a Strategy, you can "glue" several ASCII files together too -- it's a trivial task not specific to WealthScript or Wealth-Lab:

http://www.dotnetperls.com/textwriter

Merging two binary data files (i.e. anything else than ASCII) together is also possible in a WealthScript Strategy: import both of them into separate Bars objects, use undocumented Bars.Append method to merge into one, then follow the QuickRef example for SaveToFile.
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).