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

Method Precision

java/lib/src/main/java/io/github/ccxt/types/Precision.java:10–16  ·  view source on GitHub ↗
(Object raw)

Source from the content-addressed store, hash-verified

8 public Double cost;
9
10 @SuppressWarnings("unchecked")
11 public Precision(Object raw) {
12 Map<String, Object> data = TypeHelper.toMap(raw);
13 this.amount = TypeHelper.safeFloat(data, "amount");
14 this.price = TypeHelper.safeFloat(data, "price");
15 this.cost = TypeHelper.safeFloat(data, "cost");
16 }
17}

Callers

nothing calls this directly

Calls 2

toMapMethod · 0.95
safeFloatMethod · 0.95

Tested by

no test coverage detected