Addition

Addition is one of the most basic mathematical operations in quantitative trading, used to add two time series data.

Calculation Principle

Addition uses the following formula:

Result = Series1 + Series2

Where:

  • Series1: First input series
  • Series2: Second input series

Parameter Description

  • Input Parameters: Two K-line data series
  • Output: Sum of corresponding positions in both series

Usage Recommendations

  1. Ensure both input series have the same length
  2. Pay attention to data type consistency
  3. Consider the possibility of numerical overflow
  4. Handle missing values appropriately

Notes

  • Input series must be aligned
  • Pay attention to numerical precision issues
  • Consider the impact of extreme values
  • Pay attention to data preprocessing
Last Updated: