async def _login(self):
    'FTX的websocket接口真是逗逼,验证成功的情况下居然不会返回任何消息'
    ts = int((time.time() * 1000))
    signature = hmac.new(self._secret_key.encode(), f'{ts}websocket_login'.encode(), 'sha256').hexdigest()
    args = {'key': self._access_key, 'sign': signature, 'time': ts}
    if self._subaccount_name:
        args['subaccount'] = self._subaccount_name
    data = {'op': 'login', 'args': args}
    (await self.send_json(data))
FTX的websocket接口真是逗逼,验证成功的情况下居然不会返回任何消息
async def _login(self):
    
    ts = int((time.time() * 1000))
    signature = hmac.new(self._secret_key.encode(), f'{ts}websocket_login'.encode(), 'sha256').hexdigest()
    args = {'key': self._access_key, 'sign': signature, 'time': ts}
    if self._subaccount_name:
        args['subaccount'] = self._subaccount_name
    data = {'op': 'login', 'args': args}
    (await self.send_json(data))