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
stringBase symbol. Preferably in upper-case letters.
quoteSymbol
stringQuote 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
orquoteSymbol
isnull
or too long.