I'm trying to use the provided DailyFX API to get the upcoming news release so I can stop my algo from trading. I can't seem to get this working with the :

public void OnData(DailyFx calendar)

Any suggestions would be really appreciated/

Author