londonstrategicedge/lse-data ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python client for London Strategic Edge market data that lets me use one API key to both stream live prices and download historical data.
I want it to work for stocks, forex, crypto, commodities, indices, ETFs, futures, options, and macro series, with a simple way to get candles, tick history, company data, dividends, splits, economic calendar items, bond yields, and options chains. It should support live websocket streaming, replaying recent history before switching to live ticks, and an async version too.
Please also include a small command line tool for auth and streaming, plus a clean way to handle errors and usage limits. If it makes sense, add examples and make the history export return a DataFrame when available. Look up the current API docs online if you need to, and make the code feel polished enough to ship as a real package.
Are you gonna build this?
make sure you review the code using coderabbit