Skip to content

Instantly share code, notes, and snippets.

View clumsypuffin's full-sized avatar

Abhijith PK clumsypuffin

View GitHub Profile
@clumsypuffin
clumsypuffin / yf_nsedata.py
Last active October 19, 2025 09:06
yahoo finance nse data downloader for daily,15 min , 5 mintimeframe
#yahoo finance nse data downloader for daily,15 min , 5 mintimeframe
#There is a time period restriction for 5 min, 15 min data from YF so it's recommended to run this weekly/Fortnightly
import os
import yfinance as yf
import pandas as pd
import requests
from datetime import datetime, timedelta