mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 03:28:20 +08:00
MAINT: Remove unused hash_args from simulation object.
The `get_hash` method on the AlgorithmSimulator is never called, so remove.
This commit is contained in:
@@ -21,7 +21,6 @@ from zipline.protocol import (
|
||||
SIDData,
|
||||
DATASOURCE_TYPE
|
||||
)
|
||||
from zipline.gens.utils import hash_args
|
||||
|
||||
log = Logger('Trade Simulation')
|
||||
|
||||
@@ -33,13 +32,6 @@ class AlgorithmSimulator(object):
|
||||
'daily': 'daily_perf'
|
||||
}
|
||||
|
||||
def get_hash(self):
|
||||
"""
|
||||
There should only ever be one TSC in the system, so
|
||||
we don't bother passing args into the hash.
|
||||
"""
|
||||
return self.__class__.__name__ + hash_args()
|
||||
|
||||
def __init__(self, algo, sim_params):
|
||||
|
||||
# ==============
|
||||
|
||||
Reference in New Issue
Block a user