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

Method mapSide

js/src/pacifica.js:2239–2245  ·  view source on GitHub ↗
(sideRaw)

Source from the content-addressed store, hash-verified

2237 return this.safeString(tifMap, tif, undefined);
2238 }
2239 mapSide(sideRaw) {
2240 const sideMap = {
2241 'sell': 'ask',
2242 'buy': 'bid',
2243 };
2244 return this.safeString(sideMap, sideRaw, sideRaw);
2245 }
2246 parseOrderType(status) {
2247 const statuses = {
2248 'stop_limit': 'limit',

Callers 1

createOrderRequestMethod · 0.95

Calls 1

safeStringMethod · 0.45

Tested by

no test coverage detected