-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config #2216
Open
R5dan
wants to merge
26
commits into
ranaroussi:dev
Choose a base branch
from
R5dan:ConfigV2
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+597
−260
Open
Config #2216
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
43c34a8
Add basic config
R5dan e62c7a0
Add deprecator
R5dan c02bf76
Update how url is set
R5dan 325b510
Deprecate base, ticker, tickers, download
R5dan 4bff839
Fix _get_crumb_basic
R5dan 2614fca
Deprecate Search
R5dan acb2fa4
Fix get_raw_json
R5dan 37ed997
Deprecate scrapers
R5dan 0c404d4
Deprecate ticker
R5dan 0537ede
Add version to all deprecations
R5dan 2a8b5d3
Return config
R5dan f021bca
DOCS
R5dan c69e6aa
Readd proxy to YfData
R5dan 637213e
Fix pyright
R5dan d2d83b7
Fix ruff
R5dan 43e61bd
Add better config return type
R5dan c6ece53
Fix ruff again
R5dan 9b3b243
Fix
R5dan b1c4e3c
Update docs and tests
R5dan d5f3f0b
Fix ruff
R5dan 1da9973
Fix ruff again
R5dan d6add84
Fix bug and remove debug prints
R5dan b713ad8
Changes
R5dan e0b8234
update
R5dan b04ca27
Remove deprecations
R5dan c104ecc
Re-add cache-get
R5dan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ Advanced | |
logging | ||
proxy | ||
caching | ||
multi_level_columns | ||
multi_level_columns | ||
config |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we search-delete for
https://
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, good idea. I will implement