a65361966d
Añade plantillas de referencia que documentan el formato exacto del frontmatter YAML que cada .md debe seguir. Cubren los cuatro kinds: function, pipeline, component y type. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
792 B
792 B
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, 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 | tested | tests | test_file_path | file_path | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| tick_to_ohlcv | pipeline | go | finance | 1.0.0 | impure | func TickToOHLCV(ctx context.Context, symbol string, interval time.Duration) ([]OHLCV, error) | Pipeline que obtiene ticks de un exchange y los agrega en velas OHLCV. |
|
|
|
|
false | error_go_core | false | functions/pipelines/tick_to_ohlcv.go |
Ejemplo
candles, err := TickToOHLCV(ctx, "BTCUSDT", 5*time.Minute)
Notas
Pipeline impuro: orquesta fetch_ticks (IO) y aggregate_ohlcv (pura).