Skip to content

Commit

Permalink
DOCS
Browse files Browse the repository at this point in the history
  • Loading branch information
R5dan committed Jan 10, 2025
1 parent 54fd605 commit fb122c0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
20 changes: 20 additions & 0 deletions doc/source/advanced/config.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
======
Config
======

`yfinance` allows you to set configurations for requests.

You can set:
* proxy
* timeout
* lang
* region
* session
* url

.. code-block:: python
yf.set_config(proxy=None, timeout=30, lang="en-US", region="US", session=None, url="finance.yahoo.com")
.. important::
DO NOT ADD `https://` to start of url. This will cause an error.
3 changes: 2 additions & 1 deletion doc/source/advanced/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ Advanced
logging
proxy
caching
multi_level_columns
multi_level_columns
config

0 comments on commit fb122c0

Please sign in to comment.