mtapi
mtapi copied to clipboard
[Question] what is difference between "QuoteUpdate" and "QuoteUpdated"
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?
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.