training fixes

This commit is contained in:
Dobromir Popov
2025-11-17 21:05:06 +02:00
parent 259ee9b14a
commit a8d59a946e
4 changed files with 119 additions and 60 deletions

View File

@@ -551,7 +551,7 @@ class DataProvider:
logger.info("Skipping initial data load (using DuckDB cache)")
logger.info(" Initial data load completed - stopping maintenance worker")
logger.info("📊 Data will be updated on-demand only (no continuous fetching)")
logger.info("Data will be updated on-demand only (no continuous fetching)")
# Stop the maintenance worker after initial load
self.data_maintenance_active = False
@@ -582,7 +582,7 @@ class DataProvider:
self.cached_data[symbol][timeframe] = existing_df.tail(1500)
last_timestamp = existing_df.index.max()
logger.info(f"📦 Loaded {len(existing_df)} candles from DuckDB for {symbol} {timeframe}")
logger.info(f"Loaded {len(existing_df)} candles from DuckDB for {symbol} {timeframe}")
else:
logger.debug(f"No existing data in DuckDB for {symbol} {timeframe}")
except Exception as e:
@@ -3140,7 +3140,7 @@ class DataProvider:
logger.warning(" DuckDB storage not available - cannot load cached data")
return
logger.info("📦 Loading cached data from DuckDB...")
logger.info("Loading cached data from DuckDB...")
loaded_count = 0
for symbol in self.symbols: