Commit 063ddf14 authored by wegamekinglc's avatar wegamekinglc

using static method

parent f2d0dced
......@@ -120,7 +120,8 @@ class Strategy(object):
offset=1).set_index('trade_date')
self.total_data = total_data
def _create_lu_bounds(self, running_setting, codes, benchmark_w):
@staticmethod
def _create_lu_bounds(running_setting, codes, benchmark_w):
codes = np.array(codes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment