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