public method IInstrumentsManager.subscribeInstrumentsAndStoreOnServer

Brief

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

Declaration

protojavascriptjavacsharp
public subscribeInstrumentsAndStoreOnServer(symbols : string[], callback : ISubscribeInstrumentsCallback) : void

Parameters
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

See also: ISubscribeInstrumentsCallback

Declared in IInstrumentsManager

back