Vector Trigonometric Sinh
SINH calculates the hyperbolic sine of a value.
Method
tm.ta.sinh(source)
Inputs
Parameter | Argument type | Description | Default Value |
---|---|---|---|
source | pd.Series | Input data series | - |
Outputs
Output | Type |
---|---|
sinh | np.ndarray |
Example usage
import tradomate as tm
@tm.strategy()def my_strategy(config: tm.TradomateConfig, data: tm.TradomateData):
# Trying out Vector Trigonometric Sinh sinh = tm.ta.sinh(data.close)
# Get the last value and print last_value = sinh.iloc[-1] tm.log(f"Last value of Vector Trigonometric Sinh is {last_value}")
# Plot the values of sinh tm.plot(sinh, title="Vector Trigonometric Sinh", overlay=False)