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

Method mathMax

java/lib/src/main/java/io/github/ccxt/Helpers.java:494–499  ·  view source on GitHub ↗
(Object a, Object b)

Source from the content-addressed store, hash-verified

492 }
493
494 public static Object mathMax(Object a, Object b) {
495 if (a == null || b == null) return null;
496 double first = toDouble(a);
497 double second = toDouble(b);
498 return (first > second) ? a : b;
499 }
500
501 public static int getIndexOf(Object str, Object target) {
502 if (str instanceof List<?>) {

Callers 15

safeOrderMethod · 0.95
buildOHLCVCMethod · 0.95
createOrderRequestMethod · 0.95
editOrderRequestMethod · 0.95
fetchOpenOrdersMethod · 0.95
priceToPrecisionMethod · 0.95
fetchOHLCVMethod · 0.95
fetchDepositsMethod · 0.95
fetchWithdrawalsMethod · 0.95

Calls 1

toDoubleMethod · 0.95

Tested by 2

mathMaxMethod · 0.76