-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Currently, PyneCore lacks native integration with yFinance (Yahoo Finance), a popular and free data source for historical market data. Many traders and developers rely on yFinance for backtesting due to its ease of use and accessibility. Without this integration, users must manually fetch and preprocess data, which adds unnecessary steps and complicates the workflow.
Describe the solution you'd like
I propose integrating yFinance as a built-in data provider in PyneCore, similar to how other backtesting frameworks (e.g., Backtrader, Zipline) support it. This would allow users to:
- Fetch OHLCV (Open, High, Low, Close, Volume) data directly within PyneCore.
- Specify tickers, timeframes, and date ranges seamlessly.
- Avoid external data preprocessing steps, making backtesting faster and more intuitive.
Describe alternatives you've considered
- Manually downloading CSV files from Yahoo Finance and loading them into PyneCore (tedious and not dynamic).
- Using other data providers like Alpha Vantage or Polygon (often require API keys and rate limits).
- Writing a wrapper around yFinance to feed data into PyneCore (possible but should be native for better UX).
Additional context
- yFinance is widely used, free, and supports most major stocks, ETFs, and cryptocurrencies.
- This integration would make PyneCore more competitive with TradingView’s Pine Script™, which has built-in Yahoo Finance data access.
- A similar implementation exists in libraries like
backtraderandpandas_datareader, so PyneCore could adopt a lightweight version.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request