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

Method string_neg

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

Source from the content-addressed store, hash-verified

228
229 @staticmethod
230 def string_neg(string):
231 if string is None:
232 return None
233 return str(Precise(string).neg())
234
235 @staticmethod
236 def string_mod(string1, string2):

Callers 15

parse_ledger_entryMethod · 0.80
create_order_requestMethod · 0.80
parse_ledger_entryMethod · 0.80
parse_tradeMethod · 0.80
parse_orderMethod · 0.80
parse_positionMethod · 0.80
create_order_requestMethod · 0.80
edit_order_requestMethod · 0.80
parse_orderMethod · 0.80
modify_margin_helperMethod · 0.80
parse_trading_feeMethod · 0.80

Calls 2

PreciseClass · 0.70
negMethod · 0.45

Tested by 3

test_tickerFunction · 0.64
test_preciseFunction · 0.64
test_numberFunction · 0.64