Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_entry
Method · 0.80
create_order_request
Method · 0.80
parse_ledger_entry
Method · 0.80
parse_trade
Method · 0.80
parse_order
Method · 0.80
parse_position
Method · 0.80
create_order_settlement_data
Method · 0.80
create_order_request
Method · 0.80
edit_order_request
Method · 0.80
parse_order
Method · 0.80
modify_margin_helper
Method · 0.80
parse_trading_fee
Method · 0.80
Calls
2
Precise
Class · 0.70
neg
Method · 0.45
Tested by
3
test_ticker
Function · 0.64
test_precise
Function · 0.64
test_number
Function · 0.64