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

Method string_max

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

Source from the content-addressed store, hash-verified

264
265 @staticmethod
266 def string_max(string1, string2):
267 if string1 is None or string2 is None:
268 return None
269 return str(Precise(string1).max(Precise(string2)))
270
271 @staticmethod
272 def string_gt(string1, string2):

Callers 15

parse_marketMethod · 0.80
parse_ledger_entryMethod · 0.80
parse_orderMethod · 0.80
parse_ledger_entryMethod · 0.80
parse_marketMethod · 0.80
fetch_marketsMethod · 0.80
parse_marketMethod · 0.80
fetch_spot_marketsMethod · 0.80
fetch_market_by_idMethod · 0.80
fetch_trading_feeMethod · 0.80
parse_marketMethod · 0.80
parse_marketMethod · 0.80

Calls 2

PreciseClass · 0.70
maxMethod · 0.45

Tested by 2

test_preciseFunction · 0.64
test_numberFunction · 0.64