MCPcopy Create free account
hub / github.com/ccxt/ccxt / to_ep

Method to_ep

python/ccxt/phemex.py:1293–1296  ·  view source on GitHub ↗
(self, price, market: Market = None)

Source from the content-addressed store, hash-verified

1291 return self.to_en(amount, market['valueScale'])
1292
1293 def to_ep(self, price, market: Market = None):
1294 if (price is None) or (market is None):
1295 return price
1296 return self.to_en(price, market['priceScale'])
1297
1298 def from_en(self, en, scale):
1299 if en is None or scale is None:

Callers 2

create_orderMethod · 0.95
edit_orderMethod · 0.95

Calls 1

to_enMethod · 0.95

Tested by

no test coverage detected