1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-09 14:00:55 +08:00
Files
qlib/qlib/portfolio/optimizer.py

14 lines
290 B
Python

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
import abc
class BaseOptimizer(abc.ABC):
"""Modeling things"""
@abc.abstractmethod
def __call__(self, *args, **kwargs) -> object:
""" Generate a optimized portfolio allocation """
pass