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

Method string_abs

python/ccxt/base/precise.py:224–227  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

222
223 @staticmethod
224 def string_abs(string):
225 if string is None:
226 return None
227 return str(Precise(string).abs())
228
229 @staticmethod
230 def string_neg(string):

Callers 15

modify_margin_helperMethod · 0.80
parse_ledger_entryMethod · 0.80
parse_ledger_entryMethod · 0.80
parse_positionMethod · 0.80
parse_positionMethod · 0.80
parse_position_riskMethod · 0.80
parse_ledger_entryMethod · 0.80
parse_positionMethod · 0.80
parse_marketMethod · 0.80
parse_transactionMethod · 0.80

Calls 2

PreciseClass · 0.70
absMethod · 0.45

Tested by 2

test_preciseFunction · 0.64
test_numberFunction · 0.64