Help us shape the future of Go! Take the 2026 Go Developer Survey

tulip_rs_go

package module
v0.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2026 License: MIT Imports: 0 Imported by: 0

README ΒΆ

TulipRS Go Bindings

pkg.go.dev reference CI status

Go Rust

High-performance Go bindings for the TulipRS technical analysis library, built on the tulip_rs_ffi C ABI via cgo. πŸ“– Full documentation for the tulip_rs project

Performance

tulip_rs_go brings native Rust + SIMD performance to Go via cgo, with zero-copy outputs:

  • ~2,283Γ— faster than cinar/indicator (pure Go, median across 45 compared indicators), up to 7,491Γ— (emv)
  • cgo call overhead is minimal: tulip_rs_go timings track within a few hundred nanoseconds of native Rust on most indicators
  • Beats cinar on 45 of 45 directly comparable indicators

πŸ“Š Full Go binding benchmarks

Features

  • 94 technical indicators + 77+ candlestick patterns β€” moving averages, oscillators, trend, volatility, volume, cycle/Ehlers, and single-pass candlestick detection
  • Zero-copy outputs β€” res.Rows are read-only views into Rust-allocated memory
  • Streaming state β€” Batch() continues from saved state with no reprocessing; states Clone() cheaply and Serialize() to portable TRFS blobs that resume in any tulip_rs language binding
  • SIMD evaluation β€” SimdByAssets (N assets, one pass) and SimdByOptions (N option sets, one pass)
  • Generated, never hand-copied β€” input/option arities and state ids come from the C headers that build.rs produces from the Rust core, so they cannot drift

Installation

Requirements: Rust nightly (pinned by the FFI repo's rust-toolchain.toml), a C toolchain, and Go 1.22+.

git clone https://github.com/me60732/tulip_rs_go.git
cd tulip_rs_go
./bootstrap.sh --source

This clones the FFI repo as a sibling (if not present), then cargo builds it with full -C target-cpu=native tuning β€” LLVM uses every instruction set your CPU supports. This is the path the benchmarks measure.

Prebuilt binary (no Rust required)
./bootstrap.sh --prebuilt   # downloads the GitHub-release cdylib for this
                            # GOOS/GOARCH into ffi/lib/

Prebuilds ship portable baselines only (x86-64-v3 / aarch64 generic β€” CI CPUs are not yours, and a native-flags artifact would SIGILL at runtime). Windows gets the staticlib, so cgo links statically with no DLL to ship next to the exe. Until the first tagged FFI release lands, --source is the only mode that works.

After either mode, go build ./... works. Everything under ffi/ is generated and gitignored; the cgo flags search ffi/lib/ first, then ../tulip_rs_ffi/target/{release,debug}, with matching rpaths (binaries are not relocatable outside this checkout). go install cannot run bootstrap hooks, so cloning + bootstrap is the supported entry point.

Verify
go build ./...
go run ./examples/adx     # expected tail: ALL CHECKS PASSED

Quick start

import (
    "github.com/me60732/tulip_rs_go/indicators"
    "github.com/me60732/tulip_rs_go/tulip"
)

options := []float64{14.0}
res, st, err := indicators.Adx.Indicator(high, low, close, options, []bool{true, true, true})
if err != nil { ... }
defer res.Close()
defer st.Close()

fmt.Println(res.Rows[0])              // adx line (zero-copy view, valid until Close)

Advanced usage

Streaming & persistence
out, err := st.Batch(h2, l2, c2, nil)   // continue from saved state
defer out.Close()

blob, err := st.Serialize(tulip.FormatBincode) // TRFS blob: store anywhere
st2, err := indicators.Adx.DeserializeState(blob) // resume in any language binding
st3, err := st.Clone()                             // or snapshot in-process
SIMD batch evaluation
sim, err := indicators.Adx.SimdByAssets(assets, options, nil)  // N assets, one pass
defer sim.Close()

sim2, err := indicators.Adx.SimdByOptions(h, l, c,
    [][]float64{{3}, {5}, {7}, {10}}, nil)                    // N option sets, one pass
defer sim2.Close()
Candlestick patterns
cres, err := indicators.Candlestick.Indicator(open, high, low, close, options,
    indicators.ForecastNone) // or filter to one forecast class
defer cres.Close()

cres.Patterns(bar)  // pattern ids detected on bar `bar` (CSR-packed, zero-copy)
cres.Names(bar)     // same, as pattern names

Indicators

Every indicator is a facade value in the indicators package (indicators.Ema, indicators.Rsi, …) exposing Info(), MinData(), Indicator(), Batch() state, serialization, and β€” where the core supports it β€” both SIMD modes. By family:

Family Indicators
Moving averages sma, ema, wma, dema, tema, trima, hma, zlema, kama, vidya, vwma, wilders, smaenvelope
Oscillators rsi, macd, stoch, stochrsi, willr, cci, cmo, ultosc, ao, fisher, fosc, msw, trix
Trend adx, adxr, di, dm, dx, aroon, aroonosc, psar, ppo, apo, vortex, elderray, donchianchannel, ichimoku, supertrend, ef, mama
Volatility bbands, atr, natr, tr, stddev, volatility, vhf, cvi, chandelierexit, keltnerchannel, trvi
Volume ad, adosc, obv, mfi, nvi, pvi, vosc, kvo, emv, wad, marketfi, chaikinmf, vwap
Price & statistical avgprice, medprice, typprice, wcprice, max, min, mom, roc, rocr, bop, linreg, tsf, dpo, mass, md, qstick, pivotpoint
Cycle & Ehlers cybercycle, adaptivemsw, homodynediscriminator, instantaneoustrendline, trendmode, highpass, hilberttransform, roofingfilter, supersmoother, ccfisher
Candlestick 77+ classical patterns, single-pass, per-bar match lists with names, Japanese names, bar counts, and forecast types

The examples/ directory has a runnable demo per indicator mirroring the C examples (series generation, NaN-safe comparison against reference values, full/streaming/SIMD checks, ALL CHECKS PASSED).

Benchmarks

A nanosecond-precision benchmark suite lives in bench/ and mirrors the C, Python, and Rust harnesses (same tickers, option sets, and timing methodology). It compares tulip_rs_go against pure-Go reference bindings (cinar) and logs to a shared Postgres DB. Run:

cd bench && go run ../cmd/bench

Layout

tulip_rs_go/
  go.mod
  bootstrap.sh      one-shot installer: --source or --prebuilt native lib
  tulip/            shared plumbing: errors, metadata, input marshalling,
                    Result / State / SimdResult ownership wrappers
  indicators/       one file per indicator (94 + candlestick + helpers), all
                    in one package, namespaced behind facade values
  ffi/              GENERATED & gitignored: headers + prebuilt lib land here
  examples/<name>/  per-indicator end-to-end demo (mirrors <name>_example.c)
  cmd/bench/        benchmark runner entry point
  bench/            indicator benchmark suite

License

MIT β€” same as the rest of the tulip_rs project family.

Credits

Documentation ΒΆ

Overview ΒΆ

Package tulip_rs_go provides high-performance Go bindings for the tulip_rs technical analysis library (https://github.com/me60732/tulip_rs), built on the tulip_rs_ffi C ABI via cgo.

The actual library code lives in two packages:

  • github.com/me60732/tulip_rs_go/indicators β€” one facade value per indicator (indicators.Ema, indicators.Rsi, ...), exposing Info(), MinData(), Indicator(), streaming Batch() state, serialization, and SIMD evaluation (SimdByAssets / SimdByOptions).
  • github.com/me60732/tulip_rs_go/tulip β€” shared low-level plumbing: error mapping, indicator metadata, input marshalling, and the memory-ownership wrappers (Result, State, SimdResult) that every indicator package reuses.

Quick start ΒΆ

import (
	"github.com/me60732/tulip_rs_go/indicators"
	"github.com/me60732/tulip_rs_go/tulip"
)

options := []float64{14.0}
res, st, err := indicators.Adx.Indicator(high, low, close, options, []bool{true, true, true})
if err != nil {
	// handle err
}
defer res.Close()
defer st.Close()

See the README at https://github.com/me60732/tulip_rs_go for installation (source build vs. prebuilt binary), streaming/persistence, SIMD batch evaluation, and candlestick pattern usage.

Full documentation for the wider tulip_rs project: https://me60732.github.io/tulip_rs/

Directories ΒΆ

Path Synopsis
cmd
bench command
examples
ad command
AD example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ad_example.c, with every step verified.
AD example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ad_example.c, with every step verified.
adaptivemsw command
AdaptiveMSW example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/adaptivemsw_example.c, with every step verified.
AdaptiveMSW example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/adaptivemsw_example.c, with every step verified.
adosc command
ADOSC example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/adosc_example.c, with every step verified.
ADOSC example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/adosc_example.c, with every step verified.
adx command
ADX example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/adx_example.c, with every step verified.
ADX example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/adx_example.c, with every step verified.
adxr command
ADXR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/adxr_example.c, with every step verified.
ADXR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/adxr_example.c, with every step verified.
ao command
AO example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/ao_example.c, with every step verified.
AO example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/ao_example.c, with every step verified.
apo command
APO example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/apo_example.c, with every step verified.
APO example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/apo_example.c, with every step verified.
aroon command
Aroon example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/aroon_example.c, with every step verified.
Aroon example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/aroon_example.c, with every step verified.
aroonosc command
Aroon Oscillator example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/aroonosc_example.c, with every step verified.
Aroon Oscillator example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/aroonosc_example.c, with every step verified.
atr command
ATR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/atr_example.c, with every step verified.
ATR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/atr_example.c, with every step verified.
avgprice command
Avgprice example: full compute, streaming continuation, state persistence (serialize/deserialize/clone).
Avgprice example: full compute, streaming continuation, state persistence (serialize/deserialize/clone).
bbands command
BBands example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/bbands_example.c, with every step verified.
BBands example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/bbands_example.c, with every step verified.
bop command
BOP example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/bop_example.c, with every step verified.
BOP example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/bop_example.c, with every step verified.
candlestick command
Candlestick example: pattern detection over synthetic OHLC bars, streaming continuation, and state persistence β€” the Go mirror of candlestick_example.c.
Candlestick example: pattern detection over synthetic OHLC bars, streaming continuation, and state persistence β€” the Go mirror of candlestick_example.c.
ccfisher command
Ccfisher example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ccfisher_example.c, with every step verified.
Ccfisher example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ccfisher_example.c, with every step verified.
cci command
CCI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/cci_example.c, with every step verified.
CCI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/cci_example.c, with every step verified.
chaikinmf command
ChaikinMF example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/chaikinmf_example.c, with every step verified.
ChaikinMF example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/chaikinmf_example.c, with every step verified.
chandelierexit command
Chandelierexit example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/chandelierexit_example.c, with every step verified.
Chandelierexit example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/chandelierexit_example.c, with every step verified.
cmo command
Cmo example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/cmo_example.c, with every step verified.
Cmo example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/cmo_example.c, with every step verified.
cvi command
Cvi example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/cvi_example.c, with every step verified.
Cvi example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/cvi_example.c, with every step verified.
cybercycle command
Cybercycle example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/cybercycle_example.c, with every step verified.
Cybercycle example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/cybercycle_example.c, with every step verified.
dema command
Dema example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/dema_example.c, with every step verified.
Dema example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/dema_example.c, with every step verified.
di command
DI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/di_example.c, with every step verified.
DI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/di_example.c, with every step verified.
dm command
DM example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/dm_example.c, with every step verified.
DM example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/dm_example.c, with every step verified.
donchianchannel command
DonchianChannel example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/donchianchannel_example.c, with every step verified.
DonchianChannel example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/donchianchannel_example.c, with every step verified.
dpo command
DPO example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/dpo_example.c, with every step verified.
DPO example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/dpo_example.c, with every step verified.
dx command
DX example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/dx_example.c, with every step verified.
DX example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/dx_example.c, with every step verified.
ef command
EF example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ef_example.c, with every step verified.
EF example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ef_example.c, with every step verified.
elderray command
Elderray example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/elderray_example.c, with every step verified.
Elderray example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/elderray_example.c, with every step verified.
ema command
EMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ema_example.c, with every step verified.
EMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ema_example.c, with every step verified.
emv command
EMV example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” emv has no simd_by_options.
EMV example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” emv has no simd_by_options.
fisher command
Fisher example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/fisher_example.c, with every step verified.
Fisher example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/fisher_example.c, with every step verified.
fosc command
FOSC example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/fosc_example.c, with every step verified.
FOSC example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/fosc_example.c, with every step verified.
highpass command
Highpass example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/highpass_example.c, with every step verified.
Highpass example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/highpass_example.c, with every step verified.
hilberttransform command
Hilberttransform example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/hilberttransform_example.c, with every step verified.
Hilberttransform example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/hilberttransform_example.c, with every step verified.
hma command
HMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/hma_example.c, with every step verified.
HMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/hma_example.c, with every step verified.
homodynediscriminator command
Homodynediscriminator example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/homodynediscriminator_example.c, with every step verified.
Homodynediscriminator example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/homodynediscriminator_example.c, with every step verified.
ichimoku command
Ichimoku example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ichimoku_example.c, with every step verified.
Ichimoku example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ichimoku_example.c, with every step verified.
instantaneoustrendline command
InstantaneousTrendline example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by-assets β€” the Go mirror of tulip_rs_ffi/examples/instantaneoustrendline_example.c.
InstantaneousTrendline example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by-assets β€” the Go mirror of tulip_rs_ffi/examples/instantaneoustrendline_example.c.
internal/demo
Package demo holds the tiny shared harness every indicator example uses: synthetic series generation, NaN-safe output comparison, and pass/fail bookkeeping.
Package demo holds the tiny shared harness every indicator example uses: synthetic series generation, NaN-safe output comparison, and pass/fail bookkeeping.
kama command
KAMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/kama_example.c.
KAMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/kama_example.c.
keltnerchannel command
KeltnerChannel example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/keltnerchannel_example.c.
KeltnerChannel example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/keltnerchannel_example.c.
kvo command
KVO (Klinger Volume Oscillator) example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/kvo_example.c.
KVO (Klinger Volume Oscillator) example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/kvo_example.c.
linreg command
Linreg example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/linreg_example.c, with every step verified.
Linreg example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/linreg_example.c, with every step verified.
macd command
Macd example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/macd_example.c, with every step verified.
Macd example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/macd_example.c, with every step verified.
mama command
Mama example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/mama_example.c, with every step verified.
Mama example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/mama_example.c, with every step verified.
marketfi command
Marketfi example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/marketfi_example.c, with every step verified.
Marketfi example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/marketfi_example.c, with every step verified.
mass command
Mass example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/mass_example.c, with every step verified.
Mass example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/mass_example.c, with every step verified.
max command
MAX example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/max_example.c, with every step verified.
MAX example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/max_example.c, with every step verified.
md command
MD example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/md_example.c, with every step verified.
MD example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/md_example.c, with every step verified.
medprice command
MEDPRICE example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by-assets demonstration.
MEDPRICE example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by-assets demonstration.
mfi command
MFI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/mfi_example.c, with every step verified.
MFI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/mfi_example.c, with every step verified.
min command
MIN example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/min_example.c, with every step verified.
MIN example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/min_example.c, with every step verified.
mom command
MOM example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/mom_example.c, with every step verified.
MOM example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/mom_example.c, with every step verified.
msw command
MSW example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/msw_example.c, with every step verified.
MSW example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/msw_example.c, with every step verified.
natr command
NATR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/natr_example.c, with every step verified.
NATR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/natr_example.c, with every step verified.
nvi command
NVI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/nvi_example.c, with every step verified.
NVI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/nvi_example.c, with every step verified.
obv command
OBV example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/obv_example.c, with every step verified.
OBV example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/obv_example.c, with every step verified.
pivotpoint command
Pivotpoint example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/pivotpoint_example.c, with every step verified.
Pivotpoint example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/pivotpoint_example.c, with every step verified.
ppo command
PPO example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ppo_example.c, with every step verified.
PPO example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ppo_example.c, with every step verified.
psar command
PSAR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/psar_example.c, with every step verified.
PSAR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/psar_example.c, with every step verified.
pvi command
PVI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/pvi_example.c, with every step verified.
PVI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/pvi_example.c, with every step verified.
qstick command
QStick example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/qstick_example.c, with every step verified.
QStick example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/qstick_example.c, with every step verified.
roc command
ROC example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/roc_example.c, with every step verified.
ROC example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/roc_example.c, with every step verified.
rocr command
ROCR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/rocr_example.c, with every step verified.
ROCR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/rocr_example.c, with every step verified.
roofingfilter command
RoofingFilter example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/roofingfilter_example.c, with every step verified.
RoofingFilter example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/roofingfilter_example.c, with every step verified.
rsi command
RSI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/rsi_example.c, with every step verified.
RSI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/rsi_example.c, with every step verified.
sma command
SMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/sma_example.c, with every step verified.
SMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/sma_example.c, with every step verified.
smaenvelope command
SMA Envelope example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/smaenvelope_example.c, with every step verified.
SMA Envelope example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/smaenvelope_example.c, with every step verified.
stddev command
Standard Deviation example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/stddev_example.c, with every step verified.
Standard Deviation example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/stddev_example.c, with every step verified.
stoch command
Stochastic Oscillator example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/stoch_example.c, with every step verified.
Stochastic Oscillator example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/stoch_example.c, with every step verified.
stochrsi command
Stochastic RSI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/stochrsi_example.c, with every step verified.
Stochastic RSI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/stochrsi_example.c, with every step verified.
supersmoother command
Super Smoother Filter example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/supersmoother_example.c, with every step verified.
Super Smoother Filter example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/supersmoother_example.c, with every step verified.
supertrend command
Supertrend example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/supertrend_example.c, with every step verified.
Supertrend example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/supertrend_example.c, with every step verified.
tema command
TEMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/tema_example.c, with every step verified.
TEMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/tema_example.c, with every step verified.
tr command
TR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/tr_example.c, with every step verified.
TR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/tr_example.c, with every step verified.
trendmode command
Trendmode example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/trendmode_example.c, with every step verified.
Trendmode example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/trendmode_example.c, with every step verified.
trima command
TRIMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/trima_example.c, with every step verified.
TRIMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/trima_example.c, with every step verified.
trix command
TRIX example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/trix_example.c, with every step verified.
TRIX example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/trix_example.c, with every step verified.
trvi command
TRVI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/trvi_example.c, with every step verified.
TRVI example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/trvi_example.c, with every step verified.
tsf command
TSF example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/tsf_example.c, with every step verified.
TSF example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/tsf_example.c, with every step verified.
typprice command
TYPPRICE example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/typprice_example.c, with every step verified.
TYPPRICE example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SIMD by assets β€” the Go mirror of tulip_rs_ffi/examples/typprice_example.c, with every step verified.
ultosc command
ULTOSC example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ultosc_example.c, with every step verified.
ULTOSC example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/ultosc_example.c, with every step verified.
vhf command
VHF example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/vhf_example.c, with every step verified.
VHF example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/vhf_example.c, with every step verified.
vidya command
VIDYA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/vidya_example.c, with every step verified.
VIDYA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/vidya_example.c, with every step verified.
volatility command
VOLATILITY example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/volatility_example.c, with every step verified.
VOLATILITY example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/volatility_example.c, with every step verified.
vortex command
VORTEX example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/vortex_example.c, with every step verified.
VORTEX example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/vortex_example.c, with every step verified.
vosc command
VOSC example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/vosc_example.c, with every step verified.
VOSC example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/vosc_example.c, with every step verified.
vwap command
VWAP example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SimdByAssets.
VWAP example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SimdByAssets.
vwma command
VWMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/vwma_example.c, with every step verified.
VWMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/vwma_example.c, with every step verified.
wad command
WAD example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SimdByAssets.
WAD example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SimdByAssets.
wcprice command
WCPRICE example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SimdByAssets.
WCPRICE example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and SimdByAssets.
wilders command
Wilders example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/wilders_example.c, with every step verified.
Wilders example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/wilders_example.c, with every step verified.
willr command
WILLR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/willr_example.c, with every step verified.
WILLR example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/willr_example.c, with every step verified.
wma command
WMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/wma_example.c, with every step verified.
WMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/wma_example.c, with every step verified.
zlema command
ZLEMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/zlema_example.c, with every step verified.
ZLEMA example: full compute, streaming continuation, state persistence (serialize/deserialize/clone), and both SIMD modes β€” the Go mirror of tulip_rs_ffi/examples/zlema_example.c, with every step verified.
Package indicators holds the Go bindings for every tulip_rs indicator, one file per indicator, mirroring the FFI crate's own layout (one crate, N indicator modules).
Package indicators holds the Go bindings for every tulip_rs indicator, one file per indicator, mirroring the FFI crate's own layout (one crate, N indicator modules).
Package tulip is the shared low-level plumbing for the Go bindings to the tulip_rs_ffi C API: error mapping, indicator metadata, input marshalling, and the memory-ownership wrappers (Result, State, SimdResult) that every indicator package reuses.
Package tulip is the shared low-level plumbing for the Go bindings to the tulip_rs_ffi C API: error mapping, indicator metadata, input marshalling, and the memory-ownership wrappers (Result, State, SimdResult) that every indicator package reuses.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL