Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_helper
Method · 0.80
parse_ledger_entry
Method · 0.80
parse_ledger_entry
Method · 0.80
parse_position
Method · 0.80
parse_position
Method · 0.80
parse_account_position
Method · 0.80
parse_position_risk
Method · 0.80
fetch_contract_markets
Method · 0.80
parse_ledger_entry
Method · 0.80
parse_position
Method · 0.80
parse_market
Method · 0.80
parse_transaction
Method · 0.80
Calls
2
Precise
Class · 0.70
abs
Method · 0.45
Tested by
2
test_precise
Function · 0.64
test_number
Function · 0.64