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