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

Method string_mul

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

Source from the content-addressed store, hash-verified

195
196 @staticmethod
197 def string_mul(string1, string2):
198 if string1 is None or string2 is None:
199 return None
200 return str(Precise(string1).mul(Precise(string2)))
201
202 @staticmethod
203 def string_div(string1, string2, precision=18):

Callers 15

parse_tickerMethod · 0.80
create_order_requestMethod · 0.80
parse_positionMethod · 0.80
parse_liquidationMethod · 0.80
create_order_requestMethod · 0.80
edit_orders_requestMethod · 0.80
create_vaultMethod · 0.80
parse_positionMethod · 0.80
modify_margin_helperMethod · 0.80
transferMethod · 0.80
parse_tickerMethod · 0.80
parse_tradeMethod · 0.80

Calls 2

PreciseClass · 0.70
mulMethod · 0.45

Tested by 4

test_liquidationFunction · 0.64
test_tickerFunction · 0.64
test_preciseFunction · 0.64
test_numberFunction · 0.64