Maybe this an enhancement.
Is there a supported way to bind a ccxt request to a specific network interface?
Thank you
Is there a supported way to bind a ccxt request to a specific network interface?
Yes, sure!
fetchImplementation with a custom agent class in constructor params to bind to a specific IP (see docs for Node.js http and node-fetch)session options are supported with python-requests and aiohttp, for that you can pass a custom session in constructor paramsCURLOPT_INTERFACE to bind underlying cURL to an IP, for that you can override curlopt_interface in constructor params.Let us know if this does not answer your question. Thx!
Most helpful comment
Yes, sure!
fetchImplementationwith a customagentclass in constructor params to bind to a specific IP (see docs for Node.jshttpandnode-fetch)sessionoptions are supported withpython-requestsandaiohttp, for that you can pass a customsessionin constructor paramsCURLOPT_INTERFACEto bind underlying cURL to an IP, for that you can overridecurlopt_interfacein constructor params.Let us know if this does not answer your question. Thx!