feat: add math operator wrappers and align TA-Lib binding types

Add Go wrappers for additional TA-Lib math operators:
Div, Max, MaxIndex, Min, MinIndex, MinMax, MinMaxIndex, Mult, Sub, and Sum.

Refactor the TA-Lib function signatures to use int32 consistently,
including taResult and Hilbert Transform bindings, so the Go layer
matches the native library more closely.

Fix HT_TRENDMODE to return []int32 and update related comments and
naming for better API consistency.
This commit is contained in:
2026-07-22 17:18:22 +09:00
parent 1ce0c19fd5
commit e0715fb3e3
6 changed files with 477 additions and 66 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
package talib
type taResult int
type taResult int32
const (
SUCCESS taResult = 0 // No error