MCPcopy
hub / github.com/ccxt/ccxt / mathMin

Method mathMin

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

Source from the content-addressed store, hash-verified

476 }
477
478 public static Object mathMin(Object a, Object b) {
479 if (a == null || b == null) return null;
480 double first = toDouble(a);
481 double second = toDouble(b);
482 return (first < second) ? a : b;
483 }
484
485 public static double mathPow(Object base, Object exp) {
486 if (base instanceof Number && exp instanceof Number) {

Callers 15

buildOHLCVCMethod · 0.95
fetchOHLCVMethod · 0.95
fetchTradesMethod · 0.95
fetchMyTradesMethod · 0.95
fetchOrdersMethod · 0.95
fetchFundingHistoryMethod · 0.95
fetchLedgerMethod · 0.95
fetchTradesMethod · 0.95
fetchFundingHistoryMethod · 0.95

Calls 1

toDoubleMethod · 0.95

Tested by

no test coverage detected