Training run on 2025-04-29
Browse files- model.ckpt +2 -2
- model_config.yaml +53 -34
- preprocessor/preproc_config.joblib +2 -2
- preprocessor/scalers.joblib +1 -1
model.ckpt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4b0e42561aefaa767c807cc6a6527a40fe5305c3e6a8131ff1a6d0f35649e3f
|
| 3 |
+
size 11608348
|
model_config.yaml
CHANGED
|
@@ -28,7 +28,7 @@ data:
|
|
| 28 |
interval: 1d
|
| 29 |
start_date: '2022-01-01'
|
| 30 |
end_date: null
|
| 31 |
-
sequence_length:
|
| 32 |
feature_columns:
|
| 33 |
- open
|
| 34 |
- high
|
|
@@ -54,7 +54,7 @@ training:
|
|
| 54 |
early_stopping_min_delta: 0.001
|
| 55 |
learning_rate: 0.0001
|
| 56 |
optimizer: adam
|
| 57 |
-
loss_function:
|
| 58 |
gradient_clip_val: 0.5
|
| 59 |
wandb:
|
| 60 |
enabled: true
|
|
@@ -72,37 +72,56 @@ checkpoint:
|
|
| 72 |
huggingface:
|
| 73 |
push_to_hub: true
|
| 74 |
commit_message: Training run on {date}
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
app:
|
| 107 |
name: crypto-trading
|
| 108 |
environment: ${oc.env:ENVIRONMENT}
|
|
@@ -132,4 +151,4 @@ services:
|
|
| 132 |
huggingface:
|
| 133 |
token: ${oc.env:HUGGINGFACE_TOKEN}
|
| 134 |
username: ${oc.env:HUGGINGFACE_USERNAME}
|
| 135 |
-
repo_name:
|
|
|
|
| 28 |
interval: 1d
|
| 29 |
start_date: '2022-01-01'
|
| 30 |
end_date: null
|
| 31 |
+
sequence_length: 7
|
| 32 |
feature_columns:
|
| 33 |
- open
|
| 34 |
- high
|
|
|
|
| 54 |
early_stopping_min_delta: 0.001
|
| 55 |
learning_rate: 0.0001
|
| 56 |
optimizer: adam
|
| 57 |
+
loss_function: mae
|
| 58 |
gradient_clip_val: 0.5
|
| 59 |
wandb:
|
| 60 |
enabled: true
|
|
|
|
| 72 |
huggingface:
|
| 73 |
push_to_hub: true
|
| 74 |
commit_message: Training run on {date}
|
| 75 |
+
repo_id: btc-predictor-v0
|
| 76 |
+
trading:
|
| 77 |
+
general:
|
| 78 |
+
interval: 1d
|
| 79 |
+
position_size_pct: 0.1
|
| 80 |
+
max_open_trades: 10
|
| 81 |
+
model_and_symbols:
|
| 82 |
+
- model: btc-predictor-v0
|
| 83 |
+
symbols: BTC/USDT
|
| 84 |
+
logic:
|
| 85 |
+
buy_threshold: 0.002
|
| 86 |
+
sell_threshold: -0.002
|
| 87 |
+
stop_loss_pct: 0.05
|
| 88 |
+
take_profit_pct: 0.02
|
| 89 |
+
enable_stop_loss: false
|
| 90 |
+
enable_trend_reversal_selling: true
|
| 91 |
+
rc_threshold: 0.6
|
| 92 |
+
backtesting:
|
| 93 |
+
start_date: '2025-01-01'
|
| 94 |
+
end_date: '2025-04-28'
|
| 95 |
+
fee_rate: 0.001
|
| 96 |
+
slippage_pct: 0.001
|
| 97 |
+
plot_results: true
|
| 98 |
+
save_results: true
|
| 99 |
+
results_dir: backtest_results
|
| 100 |
+
initial_capital: 2000.0
|
| 101 |
+
visualization:
|
| 102 |
+
formats:
|
| 103 |
+
- png
|
| 104 |
+
- pdf
|
| 105 |
+
dpi: 300
|
| 106 |
+
combined_report: true
|
| 107 |
+
charts:
|
| 108 |
+
portfolio_value: true
|
| 109 |
+
cumulative_returns: true
|
| 110 |
+
trade_points: true
|
| 111 |
+
drawdown: true
|
| 112 |
+
monthly_returns: true
|
| 113 |
+
win_loss_ratio: true
|
| 114 |
+
portfolio_composition: true
|
| 115 |
+
predictions: true
|
| 116 |
+
live:
|
| 117 |
+
mode: paper
|
| 118 |
+
update_interval_seconds: 60
|
| 119 |
+
max_retry_attempts: 3
|
| 120 |
+
retry_delay_seconds: 5
|
| 121 |
+
order_type: market
|
| 122 |
+
limit_order_time_in_force: GTC
|
| 123 |
+
limit_price_buffer_pct: 0.005
|
| 124 |
+
telegram_notifications: false
|
| 125 |
app:
|
| 126 |
name: crypto-trading
|
| 127 |
environment: ${oc.env:ENVIRONMENT}
|
|
|
|
| 151 |
huggingface:
|
| 152 |
token: ${oc.env:HUGGINGFACE_TOKEN}
|
| 153 |
username: ${oc.env:HUGGINGFACE_USERNAME}
|
| 154 |
+
repo_name: ${oc.env:HUGGINGFACE_REPO_NAME,crypto-models}
|
preprocessor/preproc_config.joblib
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b64358869e9dd7c426f213791f936f03803c8c45fe6c58b69fdd2acdbfdf977b
|
| 3 |
+
size 13957
|
preprocessor/scalers.joblib
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1625
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abb6fb8de4569cb1c2de76cccf0d585174ced2ea172f6290bbdadd56cb7f3f41
|
| 3 |
size 1625
|