This commit is contained in:
Dobromir Popov
2025-03-29 03:57:04 +02:00
parent ebbc0ed2d7
commit 43803caaf1
2 changed files with 30 additions and 1 deletions

View File

@ -134,6 +134,12 @@ class CNNModelPyTorch:
output_size (int): Size of the output (1 for regression, 3 for classification)
timeframes (list): List of timeframes used (for logging)
"""
# Action tracking
self.action_counts = {
'BUY': 0,
'SELL': 0,
'HOLD': 0
}
self.window_size = window_size
self.num_features = num_features
self.output_size = output_size