Files
egutierrez 113c6dfd71 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>
2026-03-28 02:23:31 +01:00

11 lines
355 B
Go

package finance
import "fmt"
// StreamTicks abre un stream de ticks en tiempo real para un simbolo.
// Retorna un canal de [2]float64 donde [0] es precio y [1] es volumen.
// TODO: implementar conexion real via websocket.
func StreamTicks(symbol string) (<-chan [2]float64, error) {
return nil, fmt.Errorf("not implemented: StreamTicks(%s)", symbol)
}