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

Method parseOrderStatus

ts/src/bingx.ts:3880–3892  ·  view source on GitHub ↗
(status: Str)

Source from the content-addressed store, hash-verified

3878 }
3879
3880 parseOrderStatus (status: Str) {
3881 const statuses: Dict = {
3882 'NEW': 'open',
3883 'PENDING': 'open',
3884 'PARTIALLY_FILLED': 'open',
3885 'RUNNING': 'open',
3886 'FILLED': 'closed',
3887 'CANCELED': 'canceled',
3888 'CANCELLED': 'canceled',
3889 'FAILED': 'canceled',
3890 };
3891 return this.safeString (statuses, status, status);
3892 }
3893
3894 /**
3895 * @method

Callers 1

parseOrderMethod · 0.95

Calls 1

safeStringMethod · 0.45

Tested by

no test coverage detected