cinar/indicator ? reverse-engineered prompt
Reverse engineered prompt
Build me a Go library for technical analysis and backtesting that feels fast and easy to use.
I want it to provide a solid set of common stock market indicators like moving averages, MACD, RSI, Bollinger Bands, volume and trend tools, plus a simple way to run trading strategies against historical prices. It should work on streams of data as well as normal slices, and make it easy to plug in my own input data and get results back without a lot of setup.
Please keep it dependency free, well tested, and organized so the indicators, strategy helpers, and backtesting pieces are easy to find. Include a few examples that show how someone could calculate indicators and run a basic backtest on CSV price data. If you need to look up current Go docs or best practices, go ahead and do that.
Are you gonna build this?
make sure you review the code using coderabbit