Update OKX configuration and aggregation logic for enhanced multi-timeframe support

- Increased health check interval from 30s to 120s in `okx_config.json`.
- Added support for additional timeframes (1s, 5s, 10s, 15s, 30s) in the aggregation logic across multiple components.
- Updated `CandleProcessingConfig` and `RealTimeCandleProcessor` to handle new timeframes.
- Enhanced validation and parsing functions to include new second-based timeframes.
- Updated database schema to support new timeframes in `schema_clean.sql`.
- Improved documentation to reflect changes in multi-timeframe aggregation capabilities.
This commit is contained in:
Vasily.onl committed 2025-06-02 12:35:19 +08:00
1 parent cecb5fd411
commit 02a51521a0
9 files changed
+964 -374

No files matched your search

+5
View File
@@ -249,6 +249,11 @@ CREATE TABLE IF NOT EXISTS supported_timeframes (
);
INSERT INTO supported_timeframes (timeframe, description, minutes) VALUES
('1s', '1 Second', 0.0167),
('5s', '5 Seconds', 0.0833),
('10s', '10 Seconds', 0.1667),
('15s', '15 Seconds', 0.25),
('30s', '30 Seconds', 0.5),
('1m', '1 Minute', 1),
('5m', '5 Minutes', 5),
('15m', '15 Minutes', 15),