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
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.
If you want to get notified about our updates, please subscribe to our free newsletter.