(self, client: Client, message)
| 1772 | client.resolve(order, messageHash) |
| 1773 | |
| 1774 | def handle_order(self, client: Client, message): |
| 1775 | # |
| 1776 | # spot |
| 1777 | # { |
| 1778 | # "type": "snapshot", |
| 1779 | # "topic": "order", |
| 1780 | # "ts": "1662348310441", |
| 1781 | # "data": [ |
| 1782 | # { |
| 1783 | # "e": "order", |
| 1784 | # "E": "1662348310441", |
| 1785 | # "s": "BTCUSDT", |
| 1786 | # "c": "spotx008", |
| 1787 | # "S": "BUY", |
| 1788 | # "o": "MARKET_OF_QUOTE", |
| 1789 | # "f": "GTC", |
| 1790 | # "q": "20", |
| 1791 | # "p": "0", |
| 1792 | # "X": "CANCELED", |
| 1793 | # "i": "1238261807653647872", |
| 1794 | # "M": "1238225004531834368", |
| 1795 | # "l": "0.001007", |
| 1796 | # "z": "0.001007", |
| 1797 | # "L": "19842.02", |
| 1798 | # "n": "0", |
| 1799 | # "N": "BTC", |
| 1800 | # "u": True, |
| 1801 | # "w": True, |
| 1802 | # "m": False, |
| 1803 | # "O": "1662348310368", |
| 1804 | # "Z": "19.98091414", |
| 1805 | # "A": "0", |
| 1806 | # "C": False, |
| 1807 | # "v": "0", |
| 1808 | # "d": "NO_LIQ", |
| 1809 | # "t": "2100000000002220938" |
| 1810 | # } |
| 1811 | # ] |
| 1812 | # } |
| 1813 | # unified |
| 1814 | # { |
| 1815 | # "id": "5923240c6880ab-c59f-420b-9adb-3639adc9dd90", |
| 1816 | # "topic": "order", |
| 1817 | # "creationTime": 1672364262474, |
| 1818 | # "data": [ |
| 1819 | # { |
| 1820 | # "symbol": "ETH-30DEC22-1400-C", |
| 1821 | # "orderId": "5cf98598-39a7-459e-97bf-76ca765ee020", |
| 1822 | # "side": "Sell", |
| 1823 | # "orderType": "Market", |
| 1824 | # "cancelType": "UNKNOWN", |
| 1825 | # "price": "72.5", |
| 1826 | # "qty": "1", |
| 1827 | # "orderIv": "", |
| 1828 | # "timeInForce": "IOC", |
| 1829 | # "orderStatus": "Filled", |
| 1830 | # "orderLinkId": "", |
| 1831 | # "lastPriceOnCreated": "", |
nothing calls this directly
no test coverage detected