You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
785 B

"""CTA 1-day task-specific utilities."""
from .loader import CTA1DLoader
from .loader_parquet import CTA1DLoaderParquet
from .labels import get_blend_weights, describe_blend_config, BLEND_CONFIGS
try:
from .train import train_model, TrainConfig
from .backtest import run_backtest, BacktestConfig
__all__ = [
'CTA1DLoader',
'CTA1DLoaderParquet',
'train_model',
'TrainConfig',
'run_backtest',
'BacktestConfig',
'get_blend_weights',
'describe_blend_config',
'BLEND_CONFIGS',
]
except ImportError:
# xgboost or sklearn not installed
__all__ = [
'CTA1DLoader',
'CTA1DLoaderParquet',
'get_blend_weights',
'describe_blend_config',
'BLEND_CONFIGS',
]