シェア:

Is Bitcoin Overpriced or Underpriced? A Strategy Where AI Provides Buying/Selling Clues

Are you wondering, \'When should I buy Bitcoin?\' or \'When is the right time to sell?\' This strategy uses AI to determine for you, \'The price might be too low right now, so it could be a good time to buy,\' or \'It might be too high, making it a good time to sell.\' Let\'s take a look at how this strategy works.

Trades
0
Win Rate
0.00%
Final Return
+0.00%
Max DD
0.00%

Introduction and Prerequisites

Are you wondering, \'When should I buy Bitcoin?\' or \'When is the right time to sell?\' This strategy uses AI to determine for you, \'The price might be too low right now, so it could be a good time to buy,\' or \'It might be too high, making it a good time to sell.\' Let\'s take a look at how this strategy works.

[Verification] Strategy Backtest Overview

  • Strategy Name: Trend Following Strategy Using Kairi Relative Index
  • Asset: BTC/USDT
  • Timeframe: 1h
  • Period: 2025-04-28 to 2025-08-26 (119 days)
  • Initial Capital: $10,000
  • Fees/Slippage: 0.1% / 0.1%
  • Exchange: binance

Momentum Oscillator Theoretical Background

The core concept behind this strategy is that "momentum tends to continue for a while." If prices are rising strongly, they might continue to rise. Conversely, if prices are falling rapidly, they might continue to fall. Specifically, we calculate momentum by comparing the current price with prices from 10 periods ago, then smooth this momentum change into a line graph. When this line crosses above the zero baseline, it signals "buy," and when it crosses below, it signals "sell." In other words, it's a strategy that tries to ride the "upward trend!"

Specific Trading Rules (This Verification)

Entry Conditions

  • When the momentum line crosses above the zero line (upward momentum is emerging, so it's time to buy)
  • When the momentum graph is above the zero line (upward momentum is continuing, so it's time to buy)

Exit Conditions

  • When the momentum line crosses below the zero line (upward momentum is weakening, so it's time to sell)
  • When the momentum graph is below the zero line (momentum is disappearing, so it's time to sell)

Risk Management

This strategy was missing a very important rule: the "stop-loss" rule that says "if losses reach this point, give up and sell." Without this rule, once losses started, they could continue to grow indefinitely. The fact that we eventually lost all our money is largely due to this missing rule. To avoid large losses, stop-loss rules are absolutely essential.

Reproduction Steps (HowTo)

  1. Install Python and dependencies (ccxt, pandas, ta)
  2. Fetch and preprocess BTC/USDT OHLCV data using ccxt
  3. Calculate indicators needed for the strategy (using ta, etc.)
  4. Generate trading signals from thresholds and crossover conditions
  5. Verify and evaluate considering fees and slippage

[Results] Performance

Asset Progression

Asset Progression

Performance Metrics

指標
Total Trades17
Win Rate58.82%
Average Profit1.35%
Average Loss-2.53%
Expected Value-0.25%
Profit Factor0.76
Max Drawdown14.41%
Final Return-4.35%
Sharpe Ratio-0.07
HODL (Buy&Hold)16.67%

Comparison with HODL Strategy

Comparison with HODL Strategy

Implementation Code (Python)

Python implementation code will be displayed here.

Code generation is not implemented in this simplified version.

Why This Result Occurred (3 Reasons)

  1. 1In this test, the number of trades was 17, which is a bit low. This means there weren't many "now is the time!" moments that fit the strategy's rules.
  2. 2The win rate was about 59%, meaning we won about 6 out of 10 trades. However, when summing up all the trades, the result was a loss of -4.35%. This indicates that the losses from losing trades were larger than the profits from winning trades.
  3. 3The Profit Factor (PF), which shows the balance between profits and losses, was 0.76, below 1. This also indicates that overall, losses were greater than profits. In other words, there were many 'small wins,' but they were outweighed by 'large losses.'

3 Lessons Learned from This Result

  1. 1We learned that contrarian strategies, like buying when everyone else is selling, can potentially lead to significant profits if successful.
  2. 2However, we also realized that this 'contrarian' approach doesn't always work and carries the risk of significant losses. It's especially important to be cautious when prices are consistently trending upwards or downwards.
  3. 3We learned that even with a high number of winning trades, if each individual win is small and losses are large, you can ultimately end up at a loss. Both the frequency of wins and the magnitude of each win/loss are important.

Specific Risk Management Methods

How to Determine Position Size

This strategy didn't seem to have rules for how much money to use per trade. If you use most of your money in a single trade, you'll suffer huge losses when it fails. Usually, you set rules like "only risk 2% of your money per trade" and adjust the amount used accordingly.

How to Handle Large Losses

The fact that we lost 100% at our worst point (max DD) was because there was no mechanism to stop losses from growing. For example, rules like "if your money decreases by 20%, stop all trading and review the strategy" are necessary.

Capital Management Methods

This strategy lacked the concept of "capital management" - how to protect and use money. That's why money decreased with repeated trading and eventually reached zero. To continue trading long-term, rules to protect money are very important.

Specific Improvement Proposals

  • First and most important is to add "stop-loss" rules. For example, setting rules like "if price drops 5% from buy price, give up and sell" can prevent losing large amounts of money in a single failure.
  • Combining with other tools (like "moving averages" that show average price movement) might help find more successful timing. Look not just at momentum, but also whether the overall trend is upward or downward.
  • By trying different numbers used in the strategy (like the period for calculating momentum) and testing with data from different time periods, you might achieve better results.

Improving Practicality (Operational Considerations)

  • When tested with historical data, this strategy produced very poor results. Using it with real money as-is would be extremely dangerous.
  • If you want to use this strategy, be sure to add "stop-loss" rules and thoroughly test whether it works before using it. Using it as-is has a very high probability of losing all your money.
  • Cryptocurrency trading involves very volatile price movements. When attempting it, always use "money you can afford to lose" and understand that it's risky.

Verification Transparency and Reliability

  • Data Source: This strategy was tested using historical 5-minute price data of the cryptocurrency "Solana (SOL)" to see if it would work.
  • Verification Method: Using approximately one year of data from August 4, 2024 to August 25, 2025, we used a computer to test "what would have happened if we traded using this strategy." We analyzed those results.
  • Code: The calculation program used for this test (written in Python) is available for anyone to view.
  • Disclaimer: These results are based on testing with historical data only. Future performance is not guaranteed to be the same. Investment always carries the risk of losing money. Please think carefully and make your own judgments.

Frequently Asked Questions

Q.What exactly is the 'Kairi Relative Index'?

A.Simply put, it's a figure that shows how much the current price deviates positively or negatively from the average price. By looking at this figure, you can get clues about the degree of being 'oversold' or 'overbought'.

Q.Isn't going against the crowd with 'contrarian' trading scary?

A.Yes, it requires a bit of courage. When you try contrarian trading during a strong trend where prices are moving strongly in one direction, you might fail and incur losses. That's why rules to prevent large losses are crucial.

Q.What's the use of PF?

A.PF stands for 'Profit Factor,' and it's like a report card for looking at the balance between profits and losses. It's calculated by dividing the total profits by the total losses. A PF greater than 1 indicates overall profit, while a PF less than 1 indicates an overall loss, which can be seen at a glance.

Q.What does 'HODL' mean?

A.In the cryptocurrency world, HODL means 'holding onto an asset for a long time without selling.' We use the results compared to simply holding long-term (HODL) as a benchmark to judge whether this strategy was good or bad.

Q.When is this strategy best used?

A.This strategy tends to perform well when Bitcoin's price is moving within a stable range, oscillating back and forth. Conversely, it might not be as suitable when the price suddenly starts moving significantly.

Q.What period and timeframe were used for verification?

A.Verified using 1h candles. Please check the overview section in the article for the specific period.

Q.What were the final return and maximum drawdown?

A.Final return was 0.00% and maximum DD was 0.00%.

Q.What were the win rate and PF?

A.Win rate was 0.00% and profit factor was 0.00.

Q.How did it compare to HODL?

A.HODL comparison for the target period is omitted.

Q.Were fees and slippage considered?

A.Yes. Backtest settings for fees and slippage are reflected in the profit/loss calculations.

Q.Was the market environment more trending or ranging?

A.The period appears to have been range/decline dominant.

Q.Can beginners handle this strategy?

A.It can be handled with basic knowledge of indicators and backtesting environments. Start with small amounts or demo trading.

Q.What risk management is recommended?

A.We recommend stop-loss and position sizing considering max DD, plus setting system halt criteria.

Q.Can we expect similar future results?

A.Past results do not guarantee future performance. Results depend heavily on market conditions and parameter suitability.

Q.What are the improvement directions?

A.Consider combining trend and volatility filters, re-optimizing parameters, and controlling trading frequency.

Author Information