1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-11 06:46:56 +08:00
This commit is contained in:
Yuchen Fang
2021-01-28 00:34:32 +08:00
committed by you-n-g
parent 7f9216dc90
commit bcadf47f32
37 changed files with 4604 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import numpy as np
from gym.spaces import Discrete, Box, Tuple, MultiDiscrete
class Base_Action(object):
""" """
def __init__(self, config):
return
def __call__(self, *args, **kargs):
return self.get_action(*args, **kargs)
def get_action(self, action):
"""
:param action:
"""
return action