From 263f0d6df9e2148a295d5ce350bb4087d75ddba1 Mon Sep 17 00:00:00 2001 From: quantylab Date: Fri, 13 Mar 2020 08:19:44 +0900 Subject: [PATCH] =?UTF-8?q?lock=20=EB=88=84=EB=9D=BD=20=ED=94=BD=EC=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- learners.py | 1 + 1 file changed, 1 insertion(+) diff --git a/learners.py b/learners.py index 09ff978..dc2e9dd 100644 --- a/learners.py +++ b/learners.py @@ -14,6 +14,7 @@ class ReinforcementLearner: __metaclass__ = abc.ABCMeta + lock = threading.Lock() def __init__(self, rl_method='rl', stock_code=None, chart_data=None, training_data=None,