pyted / okx

Python OKX API interface
161 stars 47 forks source link

API账号登录问题 #9

Open 827346462 opened 8 months ago

827346462 commented 8 months ago

version okx 2.1.1 account = Account( key=key, secret=secret, passphrase=passphrase, flag=flag, proxies=proxies, proxy_host=proxy_host, ) config_result = account.get_config() 使用香港服务器直接请求会出现下面问题: okx.api._client.ResponseStatusError: Error response_status_code 401 response_content={"msg":"APIKey does not match current environment.","code":"50101"}

pyted commented 8 months ago

可以检查一下,是不是key和secret的错误,或者权限问题。