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