MCPcopy Index your code
hub / github.com/ccxt/ccxt / stringSub

Method stringSub

java/lib/src/main/java/io/github/ccxt/base/Precise.java:244–249  ·  view source on GitHub ↗
(Object string1, Object string2)

Source from the content-addressed store, hash-verified

242 }
243
244 public static String stringSub(Object string1, Object string2) {
245 if (string1 == null || string2 == null) return null;
246 return new Precise(String.valueOf(string1))
247 .sub(new Precise(String.valueOf(string2)))
248 .toString();
249 }
250
251 public static String stringAdd(Object string1, Object string2) {
252 if (string1 == null || string2 == null) return null;

Callers 15

safeLedgerEntryMethod · 0.95
safeBalanceMethod · 0.95
safeOrderMethod · 0.95
safeTickerMethod · 0.95
parsePositionRiskMethod · 0.95
parseAccountPositionMethod · 0.95
parseOrderMethod · 0.95
parseTransactionMethod · 0.95
createOrderRequestMethod · 0.95
editOrdersRequestMethod · 0.95
parseOrderMethod · 0.95
parsePositionMethod · 0.95

Calls 2

toStringMethod · 0.45
subMethod · 0.45

Tested by 3

testTickerMethod · 0.76
tcoAssertFilledOrderMethod · 0.76
testPreciseMethod · 0.76