mtapi icon indicating copy to clipboard operation
mtapi copied to clipboard

[Question] what is difference between "QuoteUpdate" and "QuoteUpdated"

Open mhamri opened this issue 8 years ago • 1 comments

i can't find out what is the difference between these two calls. can you elaborate on the difference a little and the purpose of each of them. and more importantly, the calculation should be done on which of them?

mhamri avatar Oct 15 '17 19:10 mhamri

These events has the same functionality but have different semantics. Event "QuoteUpdated" is old event (from the first versions of the API) and provides values of Symbol, Bid and Ask. Event "QuoteUpdate" provides MtQuote stucture, that has more information then previous event: Instrument, Bid, Ask, ExpertHandle. And this stucture can be easy expanded by new values in the future.

vdemydiuk avatar Oct 19 '17 09:10 vdemydiuk