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

Method to_ev

python/ccxt/phemex.py:1288–1291  ·  view source on GitHub ↗
(self, amount, market: dict = None)

Source from the content-addressed store, hash-verified

1286 return self.parse_to_numeric(preciseString)
1287
1288 def to_ev(self, amount, market: dict = None):
1289 if (amount is None) or (market is None):
1290 return amount
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):

Callers 4

create_orderMethod · 0.95
edit_orderMethod · 0.95
set_marginMethod · 0.95
transferMethod · 0.95

Calls 1

to_enMethod · 0.95

Tested by

no test coverage detected