Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_transaction
Method · 0.80
parse_ledger_entry
Method · 0.80
parse_position
Method · 0.80
create_order_request
Method · 0.80
edit_orders_request
Method · 0.80
parse_order
Method · 0.80
parse_position
Method · 0.80
parse_account_position
Method · 0.80
parse_position_risk
Method · 0.80
create_order_request
Method · 0.80
fetch_ohlcv
Method · 0.80
parse_transaction
Method · 0.80
Calls
2
Precise
Class · 0.70
sub
Method · 0.45
Tested by
5
tco_assert_filled_order
Function · 0.64
test_ticker
Function · 0.64
tco_assert_filled_order
Function · 0.64
test_precise
Function · 0.64
test_number
Function · 0.64