saidsurucu/borsapy — reverse-engineered prompt

Reverse engineered prompt

Build me a Python library for Turkish market data that feels simple to use, kind of like a local yfinance for BIST. I want to be able to load a stock by ticker and get current price info, company details, historical OHLCV data, balance sheet, income statement, cash flow, dividends, splits, major holders, analyst targets, and recent KAP style announcements. It should also support downloading multiple stocks at once.

Please include other asset types too, like USD and other FX rates, crypto pairs in TRY, investment funds, and inflation data. I also want access to EVDS macro series with an API key option, plus search and category browsing for the catalog.

Make it usable both as a Python package and from the terminal, so I can quickly check prices, export history to CSV, watch live updates, and run simple technical or fundamental scans. Add examples, tests, and clear docs so it feels polished. Keep the usage personal and educational only, not for commercial use. Look up current docs online if you need to.

Want more depth? Deep Reverse