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

Method map_side

python/ccxt/async_support/pacifica.py:2135–2140  ·  view source on GitHub ↗
(self, sideRaw: str)

Source from the content-addressed store, hash-verified

2133 return self.safe_string(tifMap, tif, None)
2134
2135 def map_side(self, sideRaw: str):
2136 sideMap = {
2137 'sell': 'ask',
2138 'buy': 'bid',
2139 }
2140 return self.safe_string(sideMap, sideRaw, sideRaw)
2141
2142 def parse_order_type(self, status: str):
2143 statuses = {

Callers 1

create_order_requestMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected