Table of Contents

Class FailInstantlyIfNotConnected

Namespace
WhalesSecret.TradeScriptLib.API.TradingV1.ConnectionStrategy
Assembly
WhalesSecret.TradeScriptLib.dll

Connection strategy that affects exchange API functions to behave in the following way.

When there is an active connection to the exchange, then all exchange API requests are processed normally.

When the exchange connection is lost and a new exchange API request is sent, the API request fails instantly with NotConnectedException being thrown.

public sealed class FailInstantlyIfNotConnected : IConnectionStrategy
Inheritance
FailInstantlyIfNotConnected
Implements
Inherited Members
Extension Methods

Fields

Instance

Default instance of fail-instantly connection strategy.

Methods

ToString()

Returns a string that represents the current object.