Table of Contents

Interface IExternalApiV1

Namespace
WhalesSecret.TradeScriptLib.API
Assembly
WhalesSecret.TradeScriptLib.dll

Interface for trade script's access to an external data source version 1.0.0.

public interface IExternalApiV1 : IVersionedApiV1
Inherited Members
Extension Methods

Fields

LocalHostname

Hostname of the local machine.

MaximumExternalDataSizeBytes

Maximum size in bytes of external data to download.

MinimumExternalRefreshTimeMs

Minimum refresh time of an external (non-localhost) data in milliseconds.

Methods

ConnectAsync(Uri, string, TimeSpan?, NewExternalDataHandlerAsync, ExternalDataErrorHandlerAsync?)

Connects to the external source of data as a client. This method can only be called once in the trade script's lifetime.

ConnectAsync(Uri, string, NewExternalDataHandlerAsync, ExternalDataErrorHandlerAsync?)

Connects to the external source of data as a client. This method can only be called once in the trade script's lifetime.