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:
@@ -0,0 +1,31 @@
|
||||
---
|
||||
name: write_ohlcv_to_parquet
|
||||
kind: function
|
||||
lang: go
|
||||
domain: finance
|
||||
version: "1.0.0"
|
||||
purity: impure
|
||||
signature: "func WriteOHLCVToParquet(path string, data [][]float64) error"
|
||||
description: "Persiste datos OHLCV en un archivo Parquet en la ruta indicada."
|
||||
tags: [finance, io, parquet, persist]
|
||||
uses_functions: []
|
||||
uses_types: [ohlcv_go_finance]
|
||||
returns: []
|
||||
returns_optional: false
|
||||
error_type: "error_go_core"
|
||||
imports: [fmt]
|
||||
tested: false
|
||||
tests: []
|
||||
test_file_path: ""
|
||||
file_path: "functions/finance/write_ohlcv_to_parquet.go"
|
||||
---
|
||||
|
||||
# write_ohlcv_to_parquet
|
||||
|
||||
Stub para persistir datos OHLCV en formato Parquet. Pendiente de implementacion.
|
||||
|
||||
## Ejemplo
|
||||
|
||||
```go
|
||||
err := finance.WriteOHLCVToParquet("/data/btc_1h.parquet", ohlcvData)
|
||||
```
|
||||
Reference in New Issue
Block a user