You need to use FOUR DIGIT year in the data that you are importing. This avoids any problems.
When you use two digit year (YY), the software has to do arbitrary choice as to what century the data is supposed to represent and is using fixed 19YY when YY >= 20 and it is using 20YY when YY is < 20.
Can someone tell me how to force CSI Unfair Advantage to export data in year 2020? I had the similar issue of not seeing data in 2020 but I am using CSI data as the provider? Is this a CSI issue or AmiBroker issue?
I do notice a bar of 1/2/1920 being exported! I will talk to CSI as well.
Well today 1/2/2020, my CSI data is not exported to AmiBroker (5.3). I have data all the way up to 12/31/2019 in AB. I can see the bar of 1/2/2020 in CSI Market Spec but it is not exported to AmiBroker.
Has anyone encountered the same issue? Is that possible AmiBroker uses 2 digits for year in the internal data structure?
It is your DATA VENDOR - CSI - that still uses 2 digit year. Tell them to update their software called UNFAIR ADVANTAGE to use FOUR DIGIT year when doing exports.
Data vendors had 20 years of time to fix their software and use FOUR digit year.
Thanks @Tomasz. I already sent email to CSI. Meanwhile I am wondering if there is anything I can do my self during the wait. Since the bar of 1/2/2020 is actually imported as 1/2/1920 in AmiBroker, can I call some API to fix this? Is there a way to modify the data in the AFL while running a scan?
One method I can make it work is to export all data as CSV by running one AFL, correct them outside AmiBroker and then re-import the data back to AmiBroker.
Yes, you can use version 6.35.1. It changes threshold date to 2025 so YY < 25 will be interpreted as 20YY, giving another 5 years for data vendors to catch up with 21st century.