yfinance icon indicating copy to clipboard operation
yfinance copied to clipboard

Enable set_config proxy to take a function

Open brettelliot opened this issue 8 months ago • 1 comments

Most calls, let you pass proxy in. That is being replaced by the set_config call. However, this assumes you would wanna pass in just a single proxy URL. The set_config solution preventsI my from using a service like FreeProxy that provides many proxy URLs.

Instead, if set_config, lets you pass in a proxy url or a function that returns a proxy URL, then people like me are good.

brettelliot avatar May 13 '25 23:05 brettelliot

You're best person to implement because you have a real proxy to test with.

ValueRaider avatar May 14 '25 20:05 ValueRaider