Skip to content

Commit

Permalink
Update algorithms.md
Browse files Browse the repository at this point in the history
  • Loading branch information
summercms authored Jan 14, 2025
1 parent d9b4891 commit b096784
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trading/algorithms.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ Below shows all the current trading algorithms development stages and let's user
<tr>
<td>Rational Quadratic Kernel (Support And Resistance Areas)</td>
<td>Algorithm</td>
<td><p>The Rational Quadratic kernel trading algorithm is a type of kernel function used in Gaussian Process Regression (GPR) models. It is derived from the Radial Basis Function (RBF) kernel and can be considered as an infinite sum of RBF kernels with different length-scales.</p><h3>Rational Quadratic Kernel Properties</h3><p>The Rational Quadratic kernel is defined as:</p><p><code>k(x, x') = (1 + (x - x')^2 / (2αl^2))^(-α)</code></p><p>Where:</p><ul><li><code>α</code> is a scale mixture parameter.</li><li><code>l</code> is the length-scale parameter.</li></ul><p>Some key properties of the Rational Quadratic kernel include:</p><ul><li><strong>Smoothness</strong>: It is an infinitely differentiable function, providing smooth predictions.</li><li><strong>Long-range Correlations</strong>: It exhibits long-range correlations, meaning data points far apart can still influence each othe's predictions.</li><li><strong>Flexibility</strong>: By varying the <code>α</code> parameter, it can approximate the behavior of other kernels like the RBF (<code>α → ∞</code>) or the Matérn class of kernels (<code>α = p/2</code>, where <code>p</code> is a positive integer).</li></ul><h3>Support and Resistance Areas</h3><p>While the Rational Quadratic kernel trading algorithm itself does not directly provide support and resistance areas, the Gaussian Process Regression model using this kernel can be employed to identify such areas based on the predicted mean and uncertainty estimates.</p><p>Potential support and resistance areas can be inferred from the predicted mean function, where:</p><ul><li>Local maxima may indicate potential resistance areas.</li><li>Local minima may indicate potential support areas.</li></ul><p>Additionally, the uncertainty estimates (e.g., variance) from the GPR model can help quantify the confidence in these potential support/resistance areas. Areas with lower uncertainty are more likely to be significant support/resistance levels.</p><p>In summary, the Rational Quadratic kernel trading algorithm offers a flexible and smooth kernel for GPR models, which can then be leveraged to identify potential support and resistance areas in financial data or other time series analysis tasks.</p></td>
<td><img src="https://github.com/chartingshow/documentation/blob/master/assets/images/trading-algorithms/enabled-by-default.jpg" alt="Enabled by default"></td>
<td><p>The Rational Quadratic kernel trading algorithm is a type of kernel function used in Gaussian Process Regression (GPR) models. It is derived from the Radial Basis Function (RBF) kernel and can be considered as an infinite sum of RBF kernels with different length-scales.</p><h3>Rational Quadratic Kernel Properties</h3><p>The Rational Quadratic kernel is defined as:</p><p><code>k(x, x') = (1 + (x - x')^2 / (2αl^2))^(-α)</code></p><p>Where:</p><ul><li><code>α</code> is a scale mixture parameter.</li><li><code>l</code> is the length-scale parameter.</li></ul><p>Some key properties of the Rational Quadratic kernel include:</p><ul><li><strong>Smoothness</strong>: It is an infinitely differentiable function, providing smooth predictions.</li><li><strong>Long-range Correlations</strong>: It exhibits long-range correlations, meaning data points far apart can still influence each othe's predictions.</li><li><strong>Flexibility</strong>: By varying the <code>α</code> parameter, it can approximate the behavior of other kernels like the RBF (<code>α → ∞</code>) or the Matérn class of kernels (<code>α = p/2</code>, where <code>p</code> is a positive integer).</li></ul><h3>Support and Resistance Areas</h3><p>While the Rational Quadratic kernel trading algorithm itself does not directly provide support and resistance areas, the Gaussian Process Regression model using this kernel can be employed to identify such areas based on the predicted mean and uncertainty estimates.</p><p>Potential support and resistance areas can be inferred from the predicted mean function, where:</p><ul><li>Local maxima may indicate potential resistance areas.</li><li>Local minima may indicate potential support areas.</li></ul><p>Additionally, the uncertainty estimates (e.g., variance) from the GPR model can help quantify the confidence in these potential support/resistance areas. Areas with lower uncertainty are more likely to be significant support/resistance levels.</p><p>In summary, the Rational Quadratic kernel trading algorithm offers a flexible and smooth kernel for GPR models, which can then be leveraged to identify potential support and resistance areas in financial data or other time series analysis tasks.</p><p><strong>This algorithm added little benefit to traders and so the decision was to remove it!</strong></p></td>
<td><img src="https://github.com/chartingshow/documentation/blob/master/assets/images/trading-algorithms/deprecated.jpg" alt="Deprecated"></td>
</tr>
<tr>
<td>&nbsp;</td>
Expand Down

0 comments on commit b096784

Please sign in to comment.