Module coinnect::bitstamp::utils [] [src]

Functions

build_signature
build_url
deserialize_json
generate_nonce
get_currency_enum

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

get_currency_string

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

get_pair_enum

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

get_pair_string

Return the name associated to pair used by Bitstamp 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