(self)
| 1665 | return True |
| 1666 | |
| 1667 | async def test_coinbase_advanced(self): |
| 1668 | exchange = self.init_offline_exchange('coinbase') |
| 1669 | id = 'ccxt' |
| 1670 | assert exchange.options['brokerId'] == id, 'id not in options' |
| 1671 | request = None |
| 1672 | try: |
| 1673 | await exchange.create_order('BTC/USDC', 'limit', 'buy', 1, 20000) |
| 1674 | except Exception as e: |
| 1675 | request = json_parse(exchange.last_request_body) |
| 1676 | client_order_id = request['client_order_id'] |
| 1677 | assert client_order_id.startswith(str(id)), 'clientOrderId does not start with id' |
| 1678 | if not is_sync(): |
| 1679 | await close(exchange) |
| 1680 | return True |
| 1681 | |
| 1682 | async def test_woofi_pro(self): |
| 1683 | if self.lang == 'java': |
no test coverage detected