Expert Advisor Series 4 ~ Subscribe to the Streaming Quotes ~

WEB Trader Get it on Google Play
  • Post by Fintechee
  • Jan 22, 2021
This tutorial video talks about how to subscribe to the streaming quotes via Fintechee WEB Trader

Expert Advisor Series 4 ~ Subscribe to the Streaming Quotes

Tutorial for Forex Trading is one of Fintechee’s free services. We help traders learn how to trade Forex by using our WEB Trader or Expert Advisor Studio. The contents here will not be limited to the field of Forex. Any instrument of investment will be discussed.


Subscribe to the Streaming Quotes

Description

This tutorial video talks about how to subscribe to the streaming quotes. We can use “getAsk” and “getBid” APIs to get the latest “Ask” and “Bid” values from the streaming quotes. Please note that, before we call “getAsk” and “getBid” APIs, we have to subscribe to the streaming quotes first by using the “getQuotes” API. “getAsk” and “getBid” APIs can be only called in the “Init” callback function. The name of “getQuotes” API is a little confusing. Actually it has no return value. If we want to share information between the callback functions, the global “window” object is the only way to store the information.

We can find the source code examples in our Github repository.