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

Method toEv

java/lib/src/main/java/io/github/ccxt/exchanges/PhemexCore.java:1344–1352  ·  view source on GitHub ↗
(Object amount, Object... optionalArgs)

Source from the content-addressed store, hash-verified

1342 }
1343
1344 public Object toEv(Object amount, Object... optionalArgs)
1345 {
1346 Object market = Helpers.getArg(optionalArgs, 0, null);
1347 if (Helpers.isTrue(Helpers.isTrue((Helpers.isEqual(amount, null))) || Helpers.isTrue((Helpers.isEqual(market, null)))))
1348 {
1349 return amount;
1350 }
1351 return this.toEn(amount, Helpers.GetValue(market, "valueScale"));
1352 }
1353
1354 public Object toEp(Object price, Object... optionalArgs)
1355 {

Callers 4

createOrderMethod · 0.95
editOrderMethod · 0.95
transferMethod · 0.95
setMarginMethod · 0.45

Calls 5

getArgMethod · 0.95
isTrueMethod · 0.95
isEqualMethod · 0.95
toEnMethod · 0.95
GetValueMethod · 0.95

Tested by

no test coverage detected