Hi
I did a search on this forum before writing this. Is there an easy way to align the dates for two sources of data - eg an index in a CSV file and an index being downloaded from Yahoo?
ie: The data may have different holiday or weekend dates included - is there an easy way to align them rather than editing in Excel?
Thanks
Size:
Color:
Hi,
Have you tried the built-in synchronization?
WealthScript Programming Guide > DataSeries > Accessing Secondary Symbols > Secondary Series Synchronization
Size:
Color:
Oh, thanks. So it seems "Default synchronization aligns all external Bars and DataSeries to the Primary Bars by comparing the date-time of each bar." and if I dont want to change the default I don't need to do anything? (ie synchronisation is automatic?).
Size:
Color:
Synchronization is enabled by default, assuming that you call GetExternalSymbol/SetContext with the boolean synchronize parameter set to true.
Size:
Color: