public method IInstrumentsManager.subscribeInstrumentsAndStoreOnServer

Overview

Subscribes to the instrument and save info about subscription on the server. Subscription will remain between sessions.

Declaration

function subscribeInstrumentsAndStoreOnServer(symbols, callback)
public void subscribeInstrumentsAndStoreOnServer(String[] symbols, ISubscribeInstrumentsCallback callback);
public void subscribeInstrumentsAndStoreOnServer(string[] symbols, ISubscribeInstrumentsCallback callback);

Parameters

Name Description
symbols The instrument symbols that users wants to add to the list of subscribed instruments
callback An interface provides a callback method that is called when the subscription is complete, and it can be used to handle any errors that may occur during the subscription process or to perform further actions after the subscription is complete

Details

Declared in IInstrumentsManager