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

Method string_sub

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

Source from the content-addressed store, hash-verified

216
217 @staticmethod
218 def string_sub(string1, string2):
219 if string1 is None or string2 is None:
220 return None
221 return str(Precise(string1).sub(Precise(string2)))
222
223 @staticmethod
224 def string_abs(string):

Callers 15

parse_transactionMethod · 0.80
parse_ledger_entryMethod · 0.80
parse_positionMethod · 0.80
create_order_requestMethod · 0.80
edit_orders_requestMethod · 0.80
parse_orderMethod · 0.80
parse_positionMethod · 0.80
parse_position_riskMethod · 0.80
create_order_requestMethod · 0.80
fetch_ohlcvMethod · 0.80
parse_transactionMethod · 0.80

Calls 2

PreciseClass · 0.70
subMethod · 0.45

Tested by 5

tco_assert_filled_orderFunction · 0.64
test_tickerFunction · 0.64
tco_assert_filled_orderFunction · 0.64
test_preciseFunction · 0.64
test_numberFunction · 0.64