Lunar Calendar
Author: tradercn
Creation Date: 9/4/2011 6:18 PM
profile picture

tradercn

#1
Hi Eugene,
In China stock market, holidays are based on lunar calendar. Do you have any component which we are able to reference for these holidays based on lunar calendar? For example, lunar spring festival (from lunar new year day through 15 days), mid-autumn festival, and etc.
What I want to test is: buy at the last day before the lunar spring festival, sell at the first day after the lunar spring festival.
Thanks.
profile picture

Eugene

#2
Hi,

.NET has a component that you can utilize when developing a WealthScript Strategy in code (not in rules):

System.Globalization.ChineseLunisolarCalendar
How to convert chinese lunar calendar back to western calendar?
profile picture

tradercn

#3
Thanks so much.
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).