47fac22230
- .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>
1.3 KiB
1.3 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | params | output | tested | tests | test_file_path | file_path | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bollinger_bands | function | go | finance | 1.0.0 | pure | func BollingerBands(data []float64, period int, numStdDev float64) (upper, middle, lower []float64) | Calcula las bandas de Bollinger (upper, middle, lower) para una serie de precios. |
|
|
|
false |
|
|
tupla (upper, middle, lower) - tres slices de precios banda superior, media (SMA) e inferior | false | functions/finance/bollinger_bands.go |
bollinger_bands
Calcula las bandas de Bollinger. La banda media es la SMA, y las bandas superior e inferior estan a numStdDev desviaciones estandar de la media. Usa desviacion estandar poblacional.
Ejemplo
upper, middle, lower := finance.BollingerBands(
[]float64{22, 24, 23, 25, 26, 28, 27, 29, 30, 28},
5, 2.0,
)