Files
egutierrez 47fac22230 chore: auto-commit (799 archivos)
- .claude/CLAUDE.md
- .claude/commands/subagentes.md
- .claude/rules/INDEX.md
- .mcp.json
- bash/functions/cybersecurity/analyze_dns.md
- bash/functions/cybersecurity/audit_http_headers.md
- bash/functions/cybersecurity/audit_ssh_config.md
- bash/functions/cybersecurity/check_firewall.md
- bash/functions/cybersecurity/detect_suspicious_users.md
- bash/functions/cybersecurity/encrypt_file.md
- ...

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 00:28:20 +02:00

38 lines
980 B
Markdown

---
name: fetch_ohlcv
kind: function
lang: go
domain: finance
version: "1.0.0"
purity: impure
signature: "func FetchOHLCV(symbol, interval string) ([][]float64, error)"
description: "Obtiene datos OHLCV de un exchange para un simbolo e intervalo dados."
tags: [finance, io, exchange, fetch, pendiente-usar]
uses_functions: []
uses_types: [ohlcv_go_finance]
returns: [ohlcv_go_finance]
returns_optional: false
error_type: "error_go_core"
imports: [fmt]
params:
- name: symbol
desc: "símbolo del instrumento (ej: 'BTC/USDT', 'EUR/USD', 'AAPL')"
- name: interval
desc: "intervalo temporal (ej: '1m', '5m', '1h', '1d')"
output: "slice de slices de 5 floats en orden [open, high, low, close, volume] por cada vela"
tested: false
tests: []
test_file_path: ""
file_path: "functions/finance/fetch_ohlcv.go"
---
# fetch_ohlcv
Stub para obtener datos OHLCV de un exchange. Pendiente de implementacion.
## Ejemplo
```go
data, err := finance.FetchOHLCV("BTC/USDT", "1h")
```