24 lines
651 B
Python
24 lines
651 B
Python
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
import argparse
|
||
|
|
from pathlib import Path
|
||
|
|
|
||
|
|
import _bootstrap # noqa: F401
|
||
|
|
from trader_training.io_utils import add_common_args, setup_logging
|
||
|
|
from trader_training.ofi_feature_experiment import run_ofi_feature_experiment
|
||
|
|
|
||
|
|
|
||
|
|
def main() -> None:
|
||
|
|
parser = argparse.ArgumentParser()
|
||
|
|
add_common_args(parser)
|
||
|
|
parser.add_argument("--baseline-run-id", required=True)
|
||
|
|
parser.add_argument("--raw-root", type=Path)
|
||
|
|
parser.add_argument("--max-rows-per-split", type=int, default=0)
|
||
|
|
args = parser.parse_args()
|
||
|
|
setup_logging()
|
||
|
|
run_ofi_feature_experiment(args)
|
||
|
|
|
||
|
|
|
||
|
|
if __name__ == "__main__":
|
||
|
|
main()
|