Update README.md
Browse files
README.md
CHANGED
|
@@ -1,44 +1,84 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
|
|
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
stock_trend_analysis:
|
| 2 |
+
model:
|
| 3 |
+
architecture:
|
| 4 |
+
image_branch:
|
| 5 |
+
input_shape: [150, 150, 3]
|
| 6 |
+
layers:
|
| 7 |
+
- Conv2D_1:
|
| 8 |
+
filters: 32
|
| 9 |
+
kernel_size: [3, 3]
|
| 10 |
+
activation: relu
|
| 11 |
+
- MaxPooling2D_1:
|
| 12 |
+
pool_size: [2, 2]
|
| 13 |
+
- Conv2D_2:
|
| 14 |
+
filters: 64
|
| 15 |
+
kernel_size: [3, 3]
|
| 16 |
+
activation: relu
|
| 17 |
+
- MaxPooling2D_2:
|
| 18 |
+
pool_size: [2, 2]
|
| 19 |
+
- Conv2D_3:
|
| 20 |
+
filters: 128
|
| 21 |
+
kernel_size: [3, 3]
|
| 22 |
+
activation: relu
|
| 23 |
+
- MaxPooling2D_3:
|
| 24 |
+
pool_size: [2, 2]
|
| 25 |
+
- Flatten
|
| 26 |
|
| 27 |
+
numerical_branch:
|
| 28 |
+
input_shape: [5] # 5 technical indicators
|
| 29 |
+
layers:
|
| 30 |
+
- Dense:
|
| 31 |
+
units: 64
|
| 32 |
+
activation: relu
|
| 33 |
|
| 34 |
+
combined_layers:
|
| 35 |
+
- Dense:
|
| 36 |
+
units: 128
|
| 37 |
+
activation: relu
|
| 38 |
+
- Dense:
|
| 39 |
+
units: 1
|
| 40 |
+
activation: sigmoid
|
| 41 |
|
| 42 |
+
data_generator:
|
| 43 |
+
class: CombinedDataGenerator
|
| 44 |
+
parameters:
|
| 45 |
+
batch_size: 32
|
| 46 |
+
img_size: [150, 150]
|
| 47 |
+
shuffle: true
|
| 48 |
+
|
| 49 |
+
feature_extraction:
|
| 50 |
+
image_processing:
|
| 51 |
+
- grayscale_conversion
|
| 52 |
+
- edge_detection:
|
| 53 |
+
method: Canny
|
| 54 |
+
threshold1: 50
|
| 55 |
+
threshold2: 150
|
| 56 |
+
- line_detection:
|
| 57 |
+
method: HoughLinesP
|
| 58 |
+
min_line_length: 20
|
| 59 |
+
max_line_gap: 5
|
| 60 |
|
| 61 |
+
technical_indicators:
|
| 62 |
+
- slope:
|
| 63 |
+
method: polyfit
|
| 64 |
+
degree: 1
|
| 65 |
+
- volatility:
|
| 66 |
+
method: standard_deviation
|
| 67 |
+
- trend_strength:
|
| 68 |
+
method: mean_absolute_diff
|
| 69 |
+
- momentum:
|
| 70 |
+
method: price_difference
|
| 71 |
+
period: 10
|
| 72 |
+
- support_resistance:
|
| 73 |
+
method: min_max_difference
|
| 74 |
+
|
| 75 |
+
training:
|
| 76 |
+
optimizer: adam
|
| 77 |
+
loss: binary_crossentropy
|
| 78 |
+
metrics: [accuracy]
|
| 79 |
+
|
| 80 |
+
requirements:
|
| 81 |
+
- tensorflow
|
| 82 |
+
- opencv-python
|
| 83 |
+
- numpy
|
| 84 |
+
- scikit-learn
|