(status)
| 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', |
no test coverage detected