15. wip
This commit is contained in:
@@ -111,11 +111,9 @@ class Config:
|
||||
log_dir = Path(self.logging.file_path).parent
|
||||
log_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
# Validate bucket sizes
|
||||
if self.aggregation.btc_bucket_size <= 0:
|
||||
raise ValueError("BTC bucket size must be positive")
|
||||
if self.aggregation.eth_bucket_size <= 0:
|
||||
raise ValueError("ETH bucket size must be positive")
|
||||
# Validate bucket size
|
||||
if self.aggregation.bucket_size <= 0:
|
||||
raise ValueError("Bucket size must be positive")
|
||||
|
||||
def get_bucket_size(self, symbol: str = None) -> float:
|
||||
"""Get bucket size (now universal $1 for all symbols)"""
|
||||
|
||||
Reference in New Issue
Block a user