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

Method parseStatus

js/src/exmo.js:1946–1957  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

1944 return orders;
1945 }
1946 parseStatus(status) {
1947 if (status === undefined) {
1948 return undefined;
1949 }
1950 const statuses = {
1951 'cancel_started': 'canceled',
1952 };
1953 if (status.indexOf('cancel') >= 0) {
1954 status = 'canceled';
1955 }
1956 return this.safeString(statuses, status, status);
1957 }
1958 parseSide(orderType) {
1959 const side = {
1960 'limit_buy': 'buy',

Callers 2

parseOrderMethod · 0.95
parseWsOrderMethod · 0.95

Calls 1

safeStringMethod · 0.45

Tested by

no test coverage detected