8000 GitHub - bjabot12/rdt-strategy-obx: Compare RDT strategy on obx
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bjabot12/rdt-strategy-obx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RDT Strategy Analysis for Norwegian Market

Project Overview

This project analyzes the applicability of the RealDayTrading (RDT) strategy, originally designed for the US market, to the Norwegian stock market. The RDT strategy, popularized on r/RealDayTrading, uses relative strength against SPY (S&P 500 ETF) as a key indicator. This analysis investigates whether a similar approach using relative strength against the OBX index (Oslo Børs 25 Index) could be effective for Norwegian stocks.

One of the key statements in RDT is that they note that approximately 75% of stocks tend to move in tandem with SPY, regardless of their inclusion in the index. I therefore wanted to test this statement to see if it is true on the OBX aswell.

Methodology

The analysis compares two approaches:

  1. Using relative strength against SPY (US market benchmark)
  2. Using relative strength against OBX (Norwegian market benchmark)

Key metrics analyzed:

  • Comparison of open vs. close prices
  • Market cap distribution
  • Performance across different market conditions

Data Sources

  • Historical stock data for Norwegian companies
  • OBX index historical data
  • Market capitalization data for top 50 companies

Key Findings

All Companies Analysis

  • Total comparisons: 240,082
  • Matching predictions: 135,397 (56.40%)
  • Differing predictions: 104,685 (43.60%)

Top 50 Companies Analysis

  • Total comparisons: 59,496
  • Matching predictions: 35,838 (60.24%)
  • Differing predictions: 23,658 (39.76%)

Interpretation

The analysis shows that:

  1. The strategy shows slightly better performance when applied to the top 50 companies by market cap
  2. There is a significant difference in predictions between using SPY and OBX as benchmarks
  3. The higher success rate with top 50 companies suggests that the strategy might be more effective with larger, more liquid stocks

Project Structure

  • analysis.py: Core analysis script
  • highest_market_cap.py: Identifies top 50 companies by market cap
  • compare.py: Compares SPY-based and OBX-based strategies
  • historical_data/: Contains all historical data files (Not shared)
  • data/: Contains processed data and results (Not shared)

Future Work

Potential areas for further research:

  1. Analysis of sector-specific performance
  2. Investigation of optimal holding periods
  3. Development of market-specific adjustments to the strategy
  4. Backtesting with different market conditions

Dependencies

  • Python 3.x
  • pandas
  • yfinance
  • numpy

Usage

  1. Install dependencies: pip install -r requirements.txt
  2. Run the analysis: python compare.py
  3. View results in the generated CSV files and console output

About

Compare RDT strategy on obx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0