Proxy 代理 The python version of the library uses the python-requests package for underlying HTTP and supports all means of customization available in the requests package, including proxies. 修改环境变量 You can configure proxies by setting the environment variables HTTP_PROXY and HTTPS_PROXY. $ ex...
import ccxt binance = ccxt.binance({ 'proxies': { 'http': 'http://localhost:8123', 'https': 'http://localhost:8123', }, }) 这样就可以访问到交易所 API, 可以通过 API 进行交易了。 一些私有 API 访问 通常, ccxt 只提供了一些通用函数, 但是交易所其他独有的 API 就没有提供通用函数, ...
importccxtapikey="这里根据申请api时的内容填写"secretkey="这里根据申请api时的内容填写"password="这里根据申请api时的内容填写"okex=ccxt.okex({'apiKey':apikey,'secret':secretkey,'password':password})#由于现在直接访问okex会被墙,需要通过代理的方式访问,若是国外服务器则不需要下面的这几行代码okex.pro...
The python version of the library uses the python-requests package for underlying HTTP and supports all means of customization available in the requests package, including proxies. 修改环境变量 You can configure proxies by setting the environment variables HTTP_PROXY and HTTPS_PROXY. $ export HTTP_...
how to connect proxies in the ccxt library? I try to call a function (sell/buy, whatever) through a proxy, but it gives an error. What am I doing wrong? account_binance = ccxt.binance({ 'apiKey': API_KEY, 'secret': API_SECRET, '... ...
Operating System windows Programming Languages python CCXT Version ccxt-4.0.11 Description the code: exchange = ccxt.binance({ 'timeout': 30000, 'verbose': True, # 启用调试模式 'proxies': { 'http_proxy': 'http://m_proxy:3128', 'https_proxy': '...
fix(Exchange): check_conflicting_proxies snake case 6c754003fd gate remove commonCurrencies c9d3107317 bybit comments 2fc3b89cbf fix(transpile): add missing functions 0eedca2bcf exchange: patch safeTicker 98a24e1fc8 4.1.68 eb4faedbae 4.1.67 (2023-11-27) safe cd506e249c feat(coinbase...
proxies=[ '', 'https://cors-anywhere.herokuapp.com/', 'https://crossorigin.me/', # 'http://cors-proxy.htmldriven.com/?url=', # we don't want this for now ] # load the api keys from config withopen('./keys.json')asfile: ...
Auto-connection and re-connection Connection timeouts Re-connection exponential backoff delay Keep-alive ping-pong Proxies Backward-compatible CCXT ←→ CCXT Pro adapters FIX protocol transports plannedExchangesThe CCXT Pro library currently supports the following 27 cryptocurrency exchange markets and WebSock...
Hello, When i'm trying to use a proxy, I'm starting to get the following exceptions after a while (approximately 10-20 minutes) Just want to clarify that when I'm getting those errors, I'm getting them on almost half of the requests. OS:...