51bitquant / howtrader

Howtrader: A crypto quant framework for developing, backtesting, and executing your own trading strategies. Seamlessly integrates with TradingView and other third-party signals. Simply send a post request to automate trading and order placement. Supports Binance and Okex exchanges.
MIT License
665 stars 288 forks source link

mac环境运行:接入币安api报错:aiohttp.client_exceptions.ClientConnectorCertificateError #37

Open Rock-wj opened 8 months ago

Rock-wj commented 8 months ago

aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host fapi.binance.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1007)')]

51bitquant commented 8 months ago

aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host fapi.binance.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1007)')]

This problem involved with SSL library. You may need to update your ssl software and then reinstall your ssl library.