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:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package talib
|
||||
|
||||
type taResult int
|
||||
type taResult int32
|
||||
|
||||
const (
|
||||
SUCCESS taResult = 0 // No error
|
||||
|
||||
Reference in New Issue
Block a user