Update README.md
Browse files
README.md
CHANGED
@@ -1,14 +1,71 @@
|
|
1 |
---
|
2 |
-
title: DSA
|
3 |
-
emoji: 🏆
|
4 |
-
colorFrom: pink
|
5 |
-
colorTo: indigo
|
6 |
-
sdk: streamlit
|
7 |
-
sdk_version: 1.44.0
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
license: mit
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
---
|
13 |
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
license: mit
|
3 |
+
tags:
|
4 |
+
- finance
|
5 |
+
- stocks
|
6 |
+
- dendritic-network
|
7 |
+
- fractal
|
8 |
+
- boundary-emergence
|
9 |
+
- self-organization
|
10 |
+
- stock-prediction
|
11 |
+
datasets:
|
12 |
+
- yfinance
|
13 |
---
|
14 |
|
15 |
+
# Dendritic Stock Algorithm (DSA)
|
16 |
+
|
17 |
+
The Dendritic Stock Algorithm represents a novel approach to financial prediction that bridges computational neuroscience with financial analysis. This model implements a self-organizing, hierarchical dendritic network that naturally forms fractal patterns at computational boundaries.
|
18 |
+
|
19 |
+
## Model Description
|
20 |
+
|
21 |
+
The DSA differs fundamentally from traditional machine learning approaches to stock prediction in several key ways:
|
22 |
+
|
23 |
+
- **Biological Inspiration**: Based on actual dendritic computation in neurons rather than abstract neural networks
|
24 |
+
- **Self-Organization**: Dendrites grow and prune connections based on pattern recognition without explicit training
|
25 |
+
- **Fractal Boundary Processing**: Information processing happens primarily at interfaces between dendrite clusters
|
26 |
+
- **Temporal Integration**: Simultaneously processes past patterns, current inputs, and future predictions
|
27 |
+
- **Critical State Operation**: Naturally balances at the edge of chaos for optimal information processing
|
28 |
+
|
29 |
+
## Intended Uses
|
30 |
+
|
31 |
+
This model can be used for:
|
32 |
+
|
33 |
+
- Stock market directional prediction
|
34 |
+
- Market regime detection (bullish/bearish/volatile/sideways)
|
35 |
+
- Multi-asset correlation analysis
|
36 |
+
- Visualization of complex market patterns
|
37 |
+
- Research into boundary-emergent complexity
|
38 |
+
|
39 |
+
## Performance
|
40 |
+
|
41 |
+
When tested on AAPL stock data (2020-2025):
|
42 |
+
|
43 |
+
- **Directional Accuracy**: 57.02% (vs. 50% random baseline)
|
44 |
+
- **Trading Return**: 62.83% (vs. 33.34% buy & hold)
|
45 |
+
- **Fractal Dimension**: 1.987 (indicating rich boundary complexity)
|
46 |
+
- **Take things with grain of sand.
|
47 |
+
|
48 |
+
## Limitations
|
49 |
+
|
50 |
+
- Requires sufficient market history (minimum 1 year recommended)
|
51 |
+
- Computational complexity increases with hierarchy levels
|
52 |
+
- Best suited for liquid assets with consistent trading patterns
|
53 |
+
- May struggle during unprecedented market conditions
|
54 |
+
|
55 |
+
## Training Details
|
56 |
+
|
57 |
+
The system leverages:
|
58 |
+
|
59 |
+
- Stock price OHLCV data
|
60 |
+
- Technical indicators (RSI, MACD, Bollinger Bands, etc.)
|
61 |
+
- Currency correlations
|
62 |
+
- Sector performance
|
63 |
+
|
64 |
+
The dendrite growth process is unsupervised, with dendrites self-organizing based on detected patterns in the data.
|
65 |
+
|
66 |
+
## Theory and Research
|
67 |
+
|
68 |
+
This work is based on the theory that complex information processing in natural systems occurs at boundaries between different computational regimes. These boundaries naturally develop fractal patterns that encode information more efficiently than traditional architectures.
|
69 |
+
|
70 |
+
The system operates at the "edge of chaos" (critical state), which maximizes information processing capacity - a principle observed in both biological neural systems and fundamental physics.
|
71 |
+
|