Replies: 1 comment 1 reply
-
Hi, please refer to: #2152 (comment) The limit is set by Yahoo, over which we have no control. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I want to use the query / screener to create a large overview of the stock market. Unfortunately, if I set the screener body to a size of more than 200 my request crashes. I would like to set the size to 10,000. What can I do?
PS: I use the following settings
from requests import Session
from requests_cache import CacheMixin, SQLiteCache
from requests_ratelimiter import LimiterMixin, MemoryQueueBucket
from pyrate_limiter import Duration, RequestRate, Limiter
class CachedLimiterSession(CacheMixin, LimiterMixin, Session):
pass
session = CachedLimiterSession(limiter=Limiter(RequestRate(2, Duration.SECOND*5)),bucket_class=MemoryQueueBucket,backend=SQLiteCache("yfinance.cache"),)
yf.set_tz_cache_location("~/yfinance")
Beta Was this translation helpful? Give feedback.
All reactions