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

Method string_min

python/ccxt/base/precise.py:260–263  ·  view source on GitHub ↗
(string1, string2)

Source from the content-addressed store, hash-verified

258
259 @staticmethod
260 def string_min(string1, string2):
261 if string1 is None or string2 is None:
262 return None
263 return str(Precise(string1).min(Precise(string2)))
264
265 @staticmethod
266 def string_max(string1, string2):

Callers 8

parse_marketMethod · 0.80
parse_currencyMethod · 0.80
parse_currencyMethod · 0.80
parse_marketMethod · 0.80
parse_currencyMethod · 0.80
parse_currencyMethod · 0.80
test_preciseFunction · 0.80
test_numberFunction · 0.80

Calls 2

PreciseClass · 0.70
minMethod · 0.45

Tested by 2

test_preciseFunction · 0.64
test_numberFunction · 0.64