From c43d5042122b517c7deef11549cfd83b76cb4c8a Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Mon, 4 May 2015 11:03:01 -0400 Subject: [PATCH] MAINT: Remove unused hash_args from simulation object. The `get_hash` method on the AlgorithmSimulator is never called, so remove. --- zipline/gens/tradesimulation.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/zipline/gens/tradesimulation.py b/zipline/gens/tradesimulation.py index ea2e93ff..6e116451 100644 --- a/zipline/gens/tradesimulation.py +++ b/zipline/gens/tradesimulation.py @@ -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): # ==============