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

Method string_eq

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

Source from the content-addressed store, hash-verified

252
253 @staticmethod
254 def string_eq(string1, string2):
255 if string1 is None or string2 is None:
256 return False
257 return Precise(string1).equals(Precise(string2))
258
259 @staticmethod
260 def string_min(string1, string2):

Callers 15

parse_positionMethod · 0.80
parse_position_riskMethod · 0.80
parse_orderMethod · 0.80
parse_orderMethod · 0.80
parse_tickerMethod · 0.80
parse_position_riskMethod · 0.80
fetch_funding_historyMethod · 0.80
parse_tradeMethod · 0.80
parse_positionMethod · 0.80

Calls 2

PreciseClass · 0.70
equalsMethod · 0.45

Tested by 9

test_liquidationFunction · 0.64
test_balanceFunction · 0.64
assert_equalFunction · 0.64
assert_non_equalFunction · 0.64
assert_order_stateFunction · 0.64
test_tickerFunction · 0.64
test_marketFunction · 0.64
test_preciseFunction · 0.64
precise_equal_strFunction · 0.64