The OnEndOfDay() function now includes a string parameter - OnEndOfDay(string symbol) - so if you are running multiple asset types (e.g. FOREX and Stocks) it will fire the EOD event twice -- once at 3.50pm, and a second time at 11.50pm (before FX market close).

Author