Back to Blog

What is ML SDCA Prediction?


SDCA (Stochastic Dual Coordinate Ascent) is a fast and efficient linear regression algorithm. While tree-based methods (FastTree, LightGBM, FastForest) can learn complex non-linear patterns, SDCA captures linear relationships between features and price. Think of it as drawing the best straight-line fit through multi-dimensional OHLCV data. It trains extremely quickly — often orders of magnitude faster than tree methods — making it an excellent baseline predictor. In ensemble strategies, SDCA provides a stabilizing linear signal that complements the non-linear predictions from tree-based methods.

How Does It Work?


The bot builds training data from your OHLCV history, pairing 11 features with the next bar's closing price. SDCA uses stochastic dual coordinate ascent optimization to find the best linear combination of features for predicting price. It runs 100 iterations to converge on the optimal weights. The trained model predicts the next closing price from the most recent bar's features. When above current price, the bot signals Buy. When below, it signals Sell.

Using It in BitThor


Select ML SDCA Method from the indicator list. It needs at least 50 bars of historical data. SDCA trains in a fraction of the time of tree-based methods, so it's ideal for rapid-update strategies. Use it as a baseline alongside tree methods — when SDCA and a tree method agree, the signal is stronger. When they disagree, the tree method's non-linear insight usually wins.

Tips for Beginners


  • SDCA is your fastest ML indicator. Use it when you need predictions at high frequency or across many symbols simultaneously.
  • When SDCA agrees with tree-based methods (FastTree, LightGBM), that's a high-confidence signal — the trend is strong enough to be visible even to a linear model.
  • SDCA works best in trending markets where price movement is relatively linear. In choppy, range-bound markets, tree-based methods will outperform it.

Indicator by: Microsoft | Learn more

Choose Platform

Download BitThor for Your Desktop


Get BitThor for your desktop and choose the platform that matches your machine before continuing.

Windows
Windows

Windows 10 & 11

Download BitThor for desktop
Linux
Linux

All major distributions

Download BitThor for desktop
macOS
macOS (Intel)

Intel processor

Download BitThor for desktop

Choose a platform before you continue  ·  Version 0.0.89.4  ·  All versions →

Risk Disclosure: Cryptocurrency trading involves substantial risk of loss and is not suitable for every user. Review your bot settings carefully before live trading. BitThor provides software tools only and does not provide investment advice. ML-based forecasting and predictive signals are analytical tools only and are not guarantees of future performance or profit.