Skip to content

Commit

Permalink
Remove hash
Browse files Browse the repository at this point in the history
  • Loading branch information
femtotrader committed Jan 26, 2017
1 parent 4212c0c commit f95d2e2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions qstrader/orderbook/level.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ def __gt__(self, other):

def __repr__(self):
return "%s:%s" % (self.price, self.volume)

def __hash__(self):
return self.price.__hash__()

0 comments on commit f95d2e2

Please sign in to comment.