Module coinnect::poloniex::utils [] [src]

Functions

deserialize_json
get_currency_enum

Return the currency enum associated with the string used by Poloniex. If no currency is found, return None

get_currency_string

Return the currency string associated with the enum used by Poloniex. If no currency is found, return None

get_pair_enum

Return the Pair enum associated to the string used by Poloniex If the Pair is not supported, None is returned.

get_pair_string

Return the name associated to pair used by Poloniex If the Pair is not supported, None is returned.

parse_result

If error array is null, return the result (encoded in a json object) else return the error string found in array