(self, order: dict, market: Market = None)
| 1672 | return self.extend(request, params) |
| 1673 | |
| 1674 | def parse_order(self, order: dict, market: Market = None) -> Order: |
| 1675 | # |
| 1676 | # createOrder, fetchOpenOrders, fetchOpenOrder |
| 1677 | # { |
| 1678 | # "wallet": "W001", |
| 1679 | # "symbol": "ETH-USDT", |
| 1680 | # "orderId": "7408875768086683648", |
| 1681 | # "clientOrderId": "7408875768086683648", |
| 1682 | # "price": "1000", |
| 1683 | # "origQty": "10", |
| 1684 | # "avgPrice": "0", |
| 1685 | # "executedQty": "0", |
| 1686 | # "orderType": "LIMIT", |
| 1687 | # "side": "BUY", |
| 1688 | # "status": "CANCELED", |
| 1689 | # "stopPrice": null, |
| 1690 | # "activatePrice": null, |
| 1691 | # "timeInForce": null, |
| 1692 | # "workingType": "CONTRACT_PRICE", |
| 1693 | # "positionSide": "BOTH", |
| 1694 | # "priceProtect": False, |
| 1695 | # "reduceOnly": False, |
| 1696 | # "closePosition": False, |
| 1697 | # "createTime": "1766413633367", |
| 1698 | # "updateTime": "1766413633370" |
| 1699 | # } |
| 1700 | # |
| 1701 | # fetchCanceledAndClosedOrders |
| 1702 | # { |
| 1703 | # "orderId": "7408919189505597440", |
| 1704 | # "orderType": "MARKET", |
| 1705 | # "symbol": "ETH-USDC", |
| 1706 | # "origQty": "1", |
| 1707 | # "side": "BUY", |
| 1708 | # "positionSide": "BOTH", |
| 1709 | # "positionAvgPrice": null, |
| 1710 | # "positionVolume": null, |
| 1711 | # "positionType": null, |
| 1712 | # "reduceOnly": False, |
| 1713 | # "closePosition": False, |
| 1714 | # "action": null, |
| 1715 | # "price": "3032.45", |
| 1716 | # "avgPrice": "3032.45", |
| 1717 | # "brkPrice": null, |
| 1718 | # "dealVolume": null, |
| 1719 | # "status": "2", |
| 1720 | # "wallet": "W001", |
| 1721 | # "alias": null, |
| 1722 | # "contractId": null, |
| 1723 | # "mtime": "1766423985842", |
| 1724 | # "ctime": "1766423985840", |
| 1725 | # "fixedPrice": null, |
| 1726 | # "direction": null, |
| 1727 | # "triggerPrice": null, |
| 1728 | # "priceType": null, |
| 1729 | # "basePrecision": "8", |
| 1730 | # "baseShowPrecision": "2", |
| 1731 | # "strategyType": null, |
no test coverage detected