feat: 15 funciones finance — indicadores, riesgo e IO de mercado

11 funciones puras con implementación real:
SMA, EMA, RSI, BollingerBands, VWAP, LogReturn, AnnualizedVolatility,
SharpeRatio, MaxDrawdown, NormalizeOHLCV, TickToOHLCV

4 funciones impuras (stubs):
FetchOHLCV, StreamTicks, WriteOHLCVToParquet, LoadOHLCVFromDuckDB

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-28 02:23:31 +01:00
parent 16e34a806e
commit 113c6dfd71
31 changed files with 830 additions and 0 deletions
@@ -0,0 +1,9 @@
package finance
import "fmt"
// WriteOHLCVToParquet persiste datos OHLCV en un archivo Parquet.
// TODO: implementar escritura real usando libreria Parquet.
func WriteOHLCVToParquet(path string, data [][]float64) error {
return fmt.Errorf("not implemented: WriteOHLCVToParquet(%s)", path)
}