r/learnpython • u/MostimaSimp • 8d ago
Made a small pandas library for Malaysian stock data, would love feedbacks
It's called bursakit.
It pulls Bursa Malaysia stock prices and dividends, plusBank Negara's interest rate and exchange rates, straight into pandas.
import bursakit as bk
df = bk.prices("MAYBANK", start="2024-01-01")
It caches everything in SQLite, so the second call is instant.
Built it with some AI help, but I've gone through all the code myself.
Mainly wondering:
- Is the structure overkill for something this small?
- Does the cache logic make sense?
Heads up: the stock data comes from yfinance, so it's unofficial and for personal use only.
2
u/Free-Good9203 7d ago
Nice clean project for a real local niche. On your two questions: