(side)
| 3474 | } |
| 3475 | |
| 3476 | parseOrderSide (side) { |
| 3477 | const sides: Dict = { |
| 3478 | 'BUY': 'buy', |
| 3479 | 'SELL': 'sell', |
| 3480 | 'SHORT': 'sell', |
| 3481 | 'LONG': 'buy', |
| 3482 | 'ask': 'sell', |
| 3483 | 'bid': 'buy', |
| 3484 | }; |
| 3485 | return this.safeString (sides, side, side); |
| 3486 | } |
| 3487 | |
| 3488 | parseOrderType (type: Str) { |
| 3489 | const types: Dict = { |
no test coverage detected