Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iTime, iTimeArray - does not take the last day of quotes #276

Open
duzers opened this issue Feb 19, 2023 · 0 comments
Open

iTime, iTimeArray - does not take the last day of quotes #276

duzers opened this issue Feb 19, 2023 · 0 comments

Comments

@duzers
Copy link

duzers commented Feb 19, 2023

            string symbol = "OIL.WTI+";
            var itimeshift = apiClient.iTime(symbol, ChartPeriod.PERIOD_M1,0);
....
 var iTimeArray = apiClient.iTimeArray(symbol, ChartPeriod.PERIOD_M1);

Metatrader 4.
I try get history of data, but both functions does not take the last day of quotes.
Today is 19.02.2023 (Sunday). Last day of data 17.02.2023 (friday), but both functions finish update of quotes on 16.02.2023.
And also a note. I purposely do not open the quotation chart and I don't restart of Metatrader, because these actions update the missing day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant