(status: Str)
| 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 |