You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TA-Lib maintainer here. Thanks for using TA-Lib for some reference. This is win-win for finding problems in one or the other.
Contacting you for potential collaboration.
This year we built a code generator using "intermediate representation" for time series processing... and are now in position to release a Go-native TA-Lib (batch+stream, bit-matching with C, exhaustive test-harness). This would cost ~1 week of dev work to build a Go generator backend and would be "mostly" auto-maintain/tested moving forward as more TA functions are added.
I recently mark "Go" as not planned (TA-Lib/ta-lib#573) but then found your project today... so may be you would be interested to integrate it (if we create it)?
Understood there is overlap on your work, but the intent is not to compete. You would remain the user facing project for higher layer features that are out-of-scope for TA-Lib (e.g. strategy/backtesting). We are seeking more experienced human-driven project/integrators than direct end-users. Our focus remains on numerical accuracy and high-performance of all our backends (TS/WASM is the next one to be released).
Let me know, no harm done in saying "not for now".
Thanks for reaching out, and for the kind words. Yes, I'd be very interested, and I'm happy to help with the Go backend rather than just consume it.
The two projects complement each other well. TA-Lib covers many functions Indicator doesn't have yet, and Indicator adds things TA-Lib considers out of scope: strategies, backtesting, and a streaming pipeline built on Go channels. I'd like to build Indicator's streaming API on top of the TA-Lib Go module so Go users get the full TA-Lib function set, bit-exact with C, plus those higher layers.
I read through TA-Lib/ta-lib#573, and the design fits Indicator well. Open/Update maps directly onto our channel-based Compute(<-chan T) <-chan T: we buffer the lookback, open, then update once per incoming value. Peek is a nice touch for forming bars. Putting the module in the main repo with the vanity path and tags on the same commit as the C release sounds good to me.
Some thoughts on the open questions, from the Go side:
Casing: I'd go with Go style (SMA, MACD). It's what Go users expect and what linters enforce.
Errors: a RetCode type that implements error feels natural.
Docs: a runnable Example per function would be great on pkg.go.dev.
go directive: Indicator is currently on go 1.22. If the generated code doesn't need anything newer, keeping it at 1.22 would let us adopt it without a bump. Otherwise we can move up.
Once there's generated output for a couple of functions (say EMA and MACD), I'll wire them into Indicator and send feedback quickly.
Thanks again for thinking of Indicator. Looking forward to working together.
A release candidate of the Go module is tagged: v0.8.4-rc.2. The import path is on the docs page below.
API complete. Every TA-Lib function, in batch and in streaming form: <Name>Lookback, <Name>Open on the history, then Update per closed bar and Peek for the forming one.
Numerical accuracy passed its tests. Batch and streaming are bit-identical to the C library, except for the functions using transcendentals, which stay within a small tolerance. Your integration can ask the Abstract API which functions those are: they carry the flag FuncUsesTranscendental.
Your points from above.RetCode implements error; every function has a runnable Example; the module needs Go 1.22 and no cgo. Names are upper case as you suggested (SMA, MACD). The few that TA-Lib spells with an underscore keep it (HT_TRENDLINE, LINEARREG_SLOPE), so one name finds the same function in every language and in the docs.
What remains before the official release, planned for Q4 2026: a docs review, a few performance iterations and code polishing. The API can still move where your feedback calls for it.
Activity
cinar commentedon Nov 13, 2026
Hi Mario,
Thanks for reaching out, and for the kind words. Yes, I'd be very interested, and I'm happy to help with the Go backend rather than just consume it.
The two projects complement each other well. TA-Lib covers many functions Indicator doesn't have yet, and Indicator adds things TA-Lib considers out of scope: strategies, backtesting, and a streaming pipeline built on Go channels. I'd like to build Indicator's streaming API on top of the TA-Lib Go module so Go users get the full TA-Lib function set, bit-exact with C, plus those higher layers.
I read through TA-Lib/ta-lib#573, and the design fits Indicator well. Open/Update maps directly onto our channel-based Compute(<-chan T) <-chan T: we buffer the lookback, open, then update once per incoming value. Peek is a nice touch for forming bars. Putting the module in the main repo with the vanity path and tags on the same commit as the C release sounds good to me.
Some thoughts on the open questions, from the Go side:
Once there's generated output for a couple of functions (say EMA and MACD), I'll wire them into Indicator and send feedback quickly.
Thanks again for thinking of Indicator. Looking forward to working together.
Best regards,
-onur
mario4tier commentedon Nov 17, 2026
Hi Onur,
A release candidate of the Go module is tagged:
v0.8.4-rc.2. The import path is on the docs page below.<Name>Lookback,<Name>Openon the history, thenUpdateper closed bar andPeekfor the forming one.FuncUsesTranscendental.RetCodeimplementserror; every function has a runnableExample; the module needs Go 1.22 and no cgo. Names are upper case as you suggested (SMA,MACD). The few that TA-Lib spells with an underscore keep it (HT_TRENDLINE,LINEARREG_SLOPE), so one name finds the same function in every language and in the docs.What remains before the official release, planned for Q4 2026: a docs review, a few performance iterations and code polishing. The API can still move where your feedback calls for it.
Docs: https://ta-lib.org/api/go/ and https://ta-lib.org/api/go/stream/.
You are very welcome to open a PR on TA-Lib/ta-lib, even a simple one such as a typo fix, so that you are recorded as a contributor on ta-lib.org.
\Mario