HTTP Proxy Settings
Proxy settings are stored in the global variable PROXYSETTINGS
YFinance.create_proxy_settings
— Functioncreate_proxy_settings(p::AbstractString,user=nothing,password=nothing)
Sets the global proxy variable _PROXY_SETTINGS::NamedTuple
. This NamedTuple
contains a proxy
and a auth
field. These fields default to nothing
and and empty Dict
respectively.
Arguments
p
::String
(Required) of the form: "http://proxy.xyz.com:8080"user
::String
Username (optional) only required if proxy requires authentication. Defaults tonothing
(no authentication needed)password
::String
The password corresponding to the Username. Defaults tonothing
(no authentication needed)
YFinance.clear_proxy_settings
— Functionclear_proxy_settings()
Clears the proxy settings by setting them back to their default (no proxy configuration).