Table of Contents

Constructor SymbolPair

Namespace
WhalesSecret.TradeScriptLib.Entities
Assembly
WhalesSecret.TradeScriptLib.dll

SymbolPair(string, string)

Creates a new instance of SymbolPair.

public SymbolPair(string baseSymbol, string quoteSymbol)

Parameters

baseSymbol string

Base symbol. Preferably in upper-case letters.

quoteSymbol string

Quote symbol. Preferably in upper-case letters.

Remarks

Use predefined symbol pairs, if possible.

Use Symbol helper class to avoid using string literals, if possible.

Exceptions

InvalidArgumentException

Thrown if baseSymbol or quoteSymbol is null or too long.