Method Parse
- Namespace
- WhalesSecret.TradeScriptLib.Entities
- Assembly
- WhalesSecret.TradeScriptLib.dll
Parse(string)
Parses output of ToString() back to the exchange symbol pair.
public static ExchangeSymbolPair Parse(string str)
Parameters
str
stringString to parse.
Returns
- ExchangeSymbolPair
Exchange symbol pair that corresponds to the input string.
Exceptions
- InvalidArgumentException
Thrown if
str
isnull
or if it is not a valid exchange symbol pair.