Hello,
does IReportService works? I've been trying to obtain overnight information for currently open positions, but getOpenPositions() method of IReportService always return empty list. I'm using JForex-API 2.12.33.
Following code always return zero, regardless of open position count:
console.getOut().println(context.getReportService().getOpenPositions().size());
Is there any way to get overnights for open positions other than estimating it? I've switched from MT4 to JForex and see JForex a lot better than MT4, but not being able to get overnights for open position in API is a major issue.
Regards,
Sebastian