MCPcopy Create free account
hub / github.com/ccxt/ccxt / safe_string_n

Method safe_string_n

python/ccxt/base/exchange.py:917–919  ·  view source on GitHub ↗
(dictionary, key_list, default_value=None)

Source from the content-addressed store, hash-verified

915
916 @staticmethod
917 def safe_string_n(dictionary, key_list, default_value=None):
918 value = Exchange.get_object_value_from_key_list(dictionary, key_list)
919 return str(value) if value is not None else default_value
920
921 @staticmethod
922 def safe_string_lower_n(dictionary, key_list, default_value=None):

Callers 15

test_safe_methodsFunction · 0.95
safe_number_nMethod · 0.95
parse_orderMethod · 0.80
fetch_tickersMethod · 0.80
parse_tradeMethod · 0.80
parse_balanceMethod · 0.80
parse_positionMethod · 0.80
transferMethod · 0.80
create_orders_requestMethod · 0.80
parse_orderMethod · 0.80
parse_tradeMethod · 0.80

Calls 1

Tested by 2

test_safe_methodsFunction · 0.76
test_tickerFunction · 0.64