From ecb385a38184cf6dbe9d6ba00fadfd02626fe148 Mon Sep 17 00:00:00 2001 From: Huoran Li Date: Tue, 26 Jul 2022 11:18:53 +0800 Subject: [PATCH] Add copyright message --- qlib/rl/from_neutrader/__init__.py | 2 ++ qlib/rl/from_neutrader/config.py | 3 +++ qlib/rl/from_neutrader/feature.py | 3 +++ qlib/rl/order_execution/tests/__init__.py | 2 ++ qlib/rl/order_execution/tests/test_simulator_qlib.py | 3 +++ qlib/rl/order_execution/utils.py | 3 +++ 6 files changed, 16 insertions(+) diff --git a/qlib/rl/from_neutrader/__init__.py b/qlib/rl/from_neutrader/__init__.py index e69de29bb..59e481eb9 100644 --- a/qlib/rl/from_neutrader/__init__.py +++ b/qlib/rl/from_neutrader/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. diff --git a/qlib/rl/from_neutrader/config.py b/qlib/rl/from_neutrader/config.py index b2e556385..7de498e45 100644 --- a/qlib/rl/from_neutrader/config.py +++ b/qlib/rl/from_neutrader/config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from dataclasses import dataclass from pathlib import Path from typing import Optional, Tuple, Union diff --git a/qlib/rl/from_neutrader/feature.py b/qlib/rl/from_neutrader/feature.py index 9c5d84a32..052ab63e6 100644 --- a/qlib/rl/from_neutrader/feature.py +++ b/qlib/rl/from_neutrader/feature.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import collections import pickle from typing import List, Optional diff --git a/qlib/rl/order_execution/tests/__init__.py b/qlib/rl/order_execution/tests/__init__.py index e69de29bb..59e481eb9 100644 --- a/qlib/rl/order_execution/tests/__init__.py +++ b/qlib/rl/order_execution/tests/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. diff --git a/qlib/rl/order_execution/tests/test_simulator_qlib.py b/qlib/rl/order_execution/tests/test_simulator_qlib.py index c49eb4e26..2a875058a 100644 --- a/qlib/rl/order_execution/tests/test_simulator_qlib.py +++ b/qlib/rl/order_execution/tests/test_simulator_qlib.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from pathlib import Path import pandas as pd diff --git a/qlib/rl/order_execution/utils.py b/qlib/rl/order_execution/utils.py index e3f7e2f33..a55c3c715 100644 --- a/qlib/rl/order_execution/utils.py +++ b/qlib/rl/order_execution/utils.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from __future__ import annotations from typing import Any, cast, List, Optional, Tuple