(timeInForce)
| 3376 | return this.safeString(types, type, type); |
| 3377 | } |
| 3378 | parseTimeInForce(timeInForce) { |
| 3379 | const timeInForces = { |
| 3380 | 'GOOD_UNTIL_CANCELLED': 'GTC', |
| 3381 | 'GOOD_UNTIL_DATE_TIME': 'GTD', |
| 3382 | 'IMMEDIATE_OR_CANCEL': 'IOC', |
| 3383 | 'FILL_OR_KILL': 'FOK', |
| 3384 | 'UNKNOWN_TIME_IN_FORCE': undefined, |
| 3385 | }; |
| 3386 | return this.safeString(timeInForces, timeInForce, timeInForce); |
| 3387 | } |
| 3388 | /** |
| 3389 | * @method |
| 3390 | * @name coinbase#cancelOrder |